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:

    
  1. Re: [WebDNA] divisible by 1 (Marc Thompson 2011)
  2. Re: [WebDNA] divisible by 1 (Donovan Brooke 2011)
  3. Re: [WebDNA] divisible by 1 (Christer Olsson 2011)
  4. Re: [WebDNA] divisible by 1 (Donovan Brooke 2011)
  5. Re: [WebDNA] divisible by 1 (Stuart Tremain 2011)
  6. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  7. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  8. Re: [WebDNA] divisible by 1 (Stuart Tremain 2011)
  9. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  10. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  11. Re: [WebDNA] divisible by 1 (Govinda 2011)
  12. Re: [WebDNA] divisible by 1 (Govinda 2011)
  13. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  14. Re: [WebDNA] divisible by 1 (Ronald Kirkland 2011)
  15. Re: [WebDNA] divisible by 1 (Marc Thompson 2011)
  16. Re: [WebDNA] divisible by 1 (William DeVaul 2011)
  17. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  18. Re: [WebDNA] divisible by 1 (Kenneth Grome 2011)
  19. Re: [WebDNA] divisible by 1 (Govinda 2011)
  20. [WebDNA] divisible by 1 (Kenneth Grome 2011)
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)