DIAL
SSC Veteran
Points: 202
More actions
February 27, 2006 at 4:11 pm
#167773
Hi, I'm traying to divide two floats, and i want to obtain the residuo from that divition, but i 'dont know how to obtain it.... I hope can somebody help me....
peterhe
SSChampion
Points: 11469
February 28, 2006 at 7:48 am
#623687
@f1 - cast(@f1/@f2 as int)*@f2
February 28, 2006 at 12:42 pm
#623785
Sorry, my english isn't good, but, thanks, I was resolved my problem.
paramind
SSCrazy
Points: 2160
March 1, 2006 at 11:21 am
#624077
Provides the remainder of one number divided by another.
dividend % divisor
Why not use, what's already there? Too straightforward, I suppose ...
_/_/_/ paramind _/_/_/
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply