Share this page 

Get the remainder of a decimalTag(s): Powerscript


decimal d1 = 5.25
decimal d2
d2 = abs(truncate(d1,0) - d1)
MessageBox("",string(d2))