I checked now and find that really they have a truncate function in
the regular framework...
for positive numbers Math.Floor will give always the same resulta as
truncate. For negative numbers Math.Ceil will do the job...
you can make your own Truncate function using Floor or Ceil depending
on the positiveness of the value.
I checked now and find that really they have a truncate function in
the regular framework...
for positive numbers Math.Floor will give always the same resulta as
truncate. For negative numbers Math.Ceil will do the job...
you can make your own Truncate function using Floor or Ceil depending
on the positiveness of the value.