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:
Register on the forums to download actions, updates, etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
how to rounding a float [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to rounding a float [SOLVED] (Read 1901 times)
KonstantinSmirnov
Playmaker Newbie
Posts: 6
how to rounding a float [SOLVED]
«
on:
October 05, 2017, 10:05:40 PM »
Hello!
I'm a beginner, have a some problem: when i'm adding a 0.1 float, sometimes Unity shows like 0.800000001. How to receive it to 0.8 always? Thank you!
p.s. sorry for my English
«
Last Edit: October 07, 2017, 06:20:50 AM by djaydino
»
Logged
djaydino
Administrator
Hero Member
Posts: 7615
Re: how to rounding a float
«
Reply #1 on:
October 05, 2017, 10:41:50 PM »
Hi,
You can find some action for that on the
Ecosystem
a few i can see are :
Float Round
Float Round To Nearest
Float Decimal Count
Logged
Join the PlayMaker Discord Channel!
KonstantinSmirnov
Playmaker Newbie
Posts: 6
Re: how to rounding a float
«
Reply #2 on:
October 06, 2017, 11:48:26 AM »
Thank you! Its work amazing!!!!! I using float round to nearest.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
how to rounding a float [SOLVED]