playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Need double or long values
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Need double or long values (Read 714 times)
andyandyandy
Beta Group
Junior Playmaker
Posts: 63
Need double or long values
«
on:
March 19, 2021, 02:12:50 AM »
Is there any format we can use for playmaker for numbers over 2billion? Is for war/troop game. Does playmaker have double or long? Or is there another way to do it? Need it for high exact numbers/calculations.
Logged
djaydino
Administrator
Hero Member
Posts: 7621
Re: Need double or long values
«
Reply #1 on:
March 22, 2021, 03:48:59 PM »
Hi.
Maybe you can use a float and instead and you can have your value internal something like 123456,123456.
and if you have to display, remove the ,
Logged
Join the PlayMaker Discord Channel!
Broken Stylus
Beta Group
Hero Member
Posts: 773
Re: Need double or long values
«
Reply #2 on:
March 23, 2021, 10:08:46 AM »
I guess the hack will indeed be to slide the coma but that won't prevent the value from being rounded once the not-yet-decimals will be pushed down into the decimal zone, right? I remember that in some cases floats can be rounded so close to the coma that they're almost like integers.
FsmLong has a nice ring to it.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Need double or long values