Re: [WebDNA] divisible by 1

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106946
interpreted = N
texte = I usually multiply by 1 and then compare the val before and after. Marc On 7/13/2011 12:54 PM, Govinda wrote: > 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 >> or not an entry is a whole number: >> >> [showif [value]\1]it's a whole number[/showif] >> >> ... but when the value is 123.45 it says it's a whole number >> when it is not. >> >> So what technique do you folks use to determine whether the >> value is a whole number? >> >> 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=webdna-talk > > --------------------------------------------------------- > 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 > . > -- ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- 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)
I usually multiply by 1 and then compare the val before and after. Marc On 7/13/2011 12:54 PM, Govinda wrote: > 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 >> or not an entry is a whole number: >> >> [showif [value]\1]it's a whole number[/showif] >> >> ... but when the value is 123.45 it says it's a whole number >> when it is not. >> >> So what technique do you folks use to determine whether the >> value is a whole number? >> >> 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=webdna-talk > > --------------------------------------------------------- > 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 > . > -- ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- Marc Thompson

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:

How to Display text in empty fields (1997) Off Topic: Help Wanted (1997) listwords and delimiters.. showing blank word? (2004) PCS Emailer's role ? (1997) return missing item (was:WebCat Sales) (1997) [Sum] function? (1997) Text data with spaces in them... (1997) Referrer field to header field conversion (1997) Price setting question (1998) Exclamation point (1997) Nationality (2003) anyone integrated inventory w/ storebuilder? (2003) learning PHP (2007) More than one db with the same namn (was: WC2f3) (1997) Migrating to NT -Reply (1997) WebCatalog Mac 2.1b3 (1997) AppleScript does not work properly ... (2000) No luck with taxes (1997) E-mail Attachments (1997) [searchString] (1997)