GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Number type fix · codingbycarter/javascript@8806250

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • numbers
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎numbers/README.md‎

Copy file name to clipboard
+2-4Lines changed: 2 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Numbers
22

3-
JavaScript has only one type of numbers, it does not define different types of numbers, like integers, short, long, floating-point etc. A number could be a **Float** (ex: 1.23) or an **Integer** (ex: 10).
3+
JavaScript has **only one type of numbers** – 64-bit float point. It's the same as Java's `double`. Unlike most other programming languages, there is no separate integer type, so 1 and 1.0 are the same value.
44

5-
There is nothing magical or strange going on with these. You define variables and set their values to any number type.
6-
7-
In this chapter, we'll learn how to create numbers and perform operations on them (like additions and subtractions).
5+
In this chapter, we'll learn how to create numbers and perform operations on them (like additions and subtractions).

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.