Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
integer and float - fundamentals
Liliana797979
Apr 24th, 2021
122
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
integerAndFloat
(
num1
,
num2
,
num3
)
{
let sum
=
num1
+
num2
+
num3
;
if
(
sum
%
1
===
0
)
{
console.
log
(
`$
{
sum
}
-
Integer`
)
;
}
else
{
console.
log
(
`$
{
sum
}
-
Float`
)
;
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ MAKE $12OO IN 10 MIN 3
JavaScript | 9 sec ago | 0.07 KB
Make 1500$ in 20 MIN [Method] 2
JavaScript | 23 sec ago | 0.07 KB
Make $200 in 15 minutes 5
JavaScript | 42 sec ago | 0.07 KB
Make 1500$ in 20 MIN [Method] 3
JavaScript | 47 sec ago | 0.07 KB
Make $200 in 15 minutes 2
JavaScript | 1 min ago | 0.07 KB
MAKE $900 INSTANTLY X
JavaScript | 1 min ago | 0.07 KB
FREE BTC GUIDE P
JavaScript | 1 min ago | 0.07 KB
MAKE $900 INSTANTLY T
JavaScript | 1 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!