This is a plug-in I put together (mostly to learn how to create plugins
) which allows the user to use several math functions unavailable in pro. Here's an example and link to the download:
print "9.4 rounded up is: "
v=math_ceil(9.4)
print v
print "-9.4 rounded up is: "
v2=math_ceil(-9.4)
print v2
print
print "The exponential of 5.0 is: "
v#=math_exp(5)
print v#
print
print "9.4 rounded down is: "
v=math_floor(9.4)
print v
print "9.4 rounded down is: "
v2=math_floor(-9.4)
print v2
print
print "The fmod of 18.5/4.2 is: "
v#=math_fmod(18.5,4.2)
print v#
print
print "The floating-point value .95*2^4 is: "
v#=math_ldexp(4,.95)
print v#
print
print "The log10 of 1000 is: "
v#=math_log10(1000)
print v#
print
print "The log of 5.5 is: "
v#=math_log(5.5)
print v#
print
print "The remainder of 5/2 is: "
v=math_remainder(5,2)
print v
print
wait key
http://www.dannywartnaby.co.uk/rgt/attachments/MathPluginv2.zip
"That's not a bug, it's a feature!"
"Variables won't, constants aren't."