Brian wrote:
>
> Hi - In Map Basic I can't make the Round statement work in Create Ranges
> for
> any values less than 1. ie Round 0.1 doesn't, it defaults to 1.
> Is this a bug - I am using MB 5.0.18 or 19 from memory. Sorry if this has
> been addressed - I have been off the list for a year.
> Regards
> Brian
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
I suspect your problem, not knowing a whole lot about Map Basic's
implementation but having done some programming, is that ROUND works
with the Integer Data type. I would suggest using TRUNCATE to a certain
decimal number, there may be an option how to truncate which effectively
rounds or cuts off the decimal number. Then choose the rounds option.
Check help files or documentation about the truncate function.
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]