Subject | Re: [ib-support] How to split a number |
---|---|
Author | Ann Harrison |
Post date | 2001-02-13T15:31:05Z |
At 02:43 PM 2/13/2001 +0000, you wrote:
5,75 - cast ((5,75 - 0,50) as integer = 0,75
Cast rounds rather than truncating - thus the
subtraction.
Regards,
Ann
www.ibphoenix.com
We have answers.
>If I have let say: 5,75cast ((5,75 - 0,50) as integer = 5
>I'd like to split in 5 and 0,75.
5,75 - cast ((5,75 - 0,50) as integer = 0,75
Cast rounds rather than truncating - thus the
subtraction.
Regards,
Ann
www.ibphoenix.com
We have answers.