Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Andrew on September 06, 2016, 10:00:23 PM

Title: Round Float Up
Post by: Andrew on September 06, 2016, 10:00:23 PM
Hi There,

I have searched around and frond Round Float to nearest, and Round Float Down, but still yet to find anything that Round's the Float up to the nearest full number.

Is anyone able to help me with this? I tried altering the 'Round Float Down' script and replaced all words 'Down' with 'Up' but it didn't work.. haha.

I'll appreciate any help, thanks.
Title: Re: Round Float Up
Post by: Andrew on September 11, 2016, 06:56:58 PM
Bump, can anyone help with this?
Title: Re: Round Float Up
Post by: djaydino on September 11, 2016, 07:27:53 PM
Hi,
Maybe you can use the action 'float to int', it has round up/down/nearest
and if you need it to be a float convert it back using 'int to float' action.

i will see if i can update the float round action to also be able to chose from it, but i am not at my computer at the moment.
Title: Re: Round Float Up
Post by: jeanfabre on September 26, 2016, 03:47:09 AM
Hi,

 there is a FloatCeiling on the Ecosystem (http://j.mp/PlayMakerEcosystem) which should do what you want.

(http://blob:http://imgur.com/c33646d6-7dd3-4e9f-807e-13f9508e6019)

 Bye,

 Jean