I am trying to figure out the fastest way to get the closest multitude of 8 from a random Number
and I am really not a math person.

var tN:Number = 32.3
//32
var tN:Number = 32.00
//32
var tN:Number = 44.9
//48
var tN:Number = 44.4
//40

Much appreciated if someone could help me out

Jiri
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to