FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript/numeros.js at master · VCalazans/JavaScript · GitHub
VCalazans
/
JavaScript
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScript
/
numeros.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 340 Bytes
Breadcrumbs
JavaScript
/
numeros.js
Copy path
File metadata and controls
14 lines (10 loc) · 340 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
peso1
=
1.0
const
peso2
=
Number
(
'2.0'
)
console
.
log
(
peso1
,
peso2
)
console
.
log
(
Number
.
isInteger
(
peso1
)
)
const
avaliacao1
=
9.871
const
avaliacao2
=
6.871
const
total
=
avaliacao1
*
peso1
+
avaliacao2
*
peso2
const
media
=
total
/
(
peso1
+
peso2
)
console
.
log
(
media
.
toFixed
(
2
)
)
console
.
log
(
media
.
toString
(
2
)
)
//Converte para binário
Back
|
FazBrowse Home
|
New Git URL