Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mweyna on January 16, 2015, 03:47:09 AM

Title: Rounding Floats to user defined ranges
Post by: mweyna on January 16, 2015, 03:47:09 AM
Is there any existing way to round a float to a user defined number? So rather then using the absolutes of whole numbers, I could say, round to the nearest .5 or 1 in the nearest direction?
Title: Re: Rounding Floats to user defined ranges
Post by: jeanfabre on January 16, 2015, 05:02:05 AM
Hi,

 I don't get this. Can you give an example of input and output?

 Bye,

 Jean
Title: Re: Rounding Floats to user defined ranges
Post by: mweyna on January 16, 2015, 05:26:16 AM
Nevermind, think I found a different way to approach this with some success.