sambartle
01-03-2004, 16:52
Ok this should be another simple one for you...
If i do say $var=23/10; in perl and get $var=2.3 how do i get that rounded up to the next nearest whole integer.
Is there a roundup function or easy way to do this?
Thanks,
Sam (i dont know perl in case you hadnt noticed)
If i do say $var=23/10; in perl and get $var=2.3 how do i get that rounded up to the next nearest whole integer.
Is there a roundup function or easy way to do this?
Thanks,
Sam (i dont know perl in case you hadnt noticed)