Subject |
Re: Convertion |
From |
Ivar B. Jessen <nospam@nospam.com> |
Date |
Fri, 03 Jul 2015 16:01:50 +0200 |
Newsgroups |
dbase.getting-started |
On Fri, 03 Jul 2015 03:05:36 -0400 ken
Sender: ken <gkent_28@yahoo.com>
wrote the following in:
Newsgroup: dbase.getting-started
Subject: Convertion:
MessageID:<FZwPp6VtQHA.144@ip-AC1E04A7>
>hi ,
>is there a better way to covert the following numbers more easily?:
>
>from: to:
>59 55
>56 55
>51 50
>43 40
>
>etc ....
>
>all number are I think converted to the nearest 0 and or 5.
>
>
>thnx and God Bless
As you don't say which way you use to convert the numbers I suggest you should
use my way which is far better :-)
Run the the example below to see why.
Ivar B. Jessen
//---
for i = 60 to 40 step - 1
? i, Round5(i)
next i
Function Round5(nNumber)
return nNumber - nNumber%5
//-----
|
|