Re: [WebDNA] divisible by 1
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106942
interpreted = N
texte = off the top of my head, I think I would just multiply by zero to confirm =a number.. and then check if it contains a dot to un-confirm.On 2011-07-13, at 2:35 PM, Kenneth Grome wrote:> I thought I could use "divisible by 1" to determine whether=20> or not an entry is a whole number:>=20> [showif [value]\1]it's a whole number[/showif]>=20> ... but when the value is 123.45 it says it's a whole number=20> when it is not.>=20> So what technique do you folks use to determine whether the=20> value is a whole number?>=20> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us- Govinda--------------Old WebDNA talklist archives:http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk
Associated Messages, from the most recent to the oldest:
off the top of my head, I think I would just multiply by zero to confirm =a number.. and then check if it contains a dot to un-confirm.On 2011-07-13, at 2:35 PM, Kenneth Grome wrote:> I thought I could use "divisible by 1" to determine whether=20> or not an entry is a whole number:>=20> [showif [value]\1]it's a whole number[/showif]>=20> ... but when the value is 123.45 it says it's a whole number=20> when it is not.>=20> So what technique do you folks use to determine whether the=20> value is a whole number?>=20> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us- Govinda--------------Old WebDNA talklist archives:http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk
Govinda
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Highlighting words found in a keyword search (2003)
StandardConversions.db (1998)
Another issue with [Date format] (1998)
New Command prefs ... (1997)
Using Currencies other than Dollars (1997)
broken [include]s (1998)
Where's Cart Created ? (1997)
FYI: virus alert (1996)
Smith Micro - no competition (2000)
webcat- multiple selection in input field (1997)
Another form question (2000)
Looking up two prices in database? (1997)
Multiple catalog databases and showcart (1997)
Surprise x and y post args (1998)
Practice runs ? (1997)
[WebDNA] How high will autonumber go? (2009)
Append File help needed (2000)
Looking For WebCatalog Migration Assistance (2003)
log files (1998)
Moment of Thanks (1997)