Re: [WebDNA] divisible by 1

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106947
interpreted = N
texte = I thought it was [math]whole=123.12%0[/math], but I am not having luck getting the modulo operator to work with 0 in WebCat. On Wed, Jul 13, 2011 at 1:38 PM, Marc Thompson wrote: > 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 > ------------------------------------------- > --------------------------------------------------------- > 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 > 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 thought it was [math]whole=123.12%0[/math], but I am not having luck getting the modulo operator to work with 0 in WebCat. On Wed, Jul 13, 2011 at 1:38 PM, Marc Thompson wrote: > 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 > ------------------------------------------- > --------------------------------------------------------- > 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 > Ronald Kirkland

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:

Problem 2 of 2 (was: Shipping Confusion) (2000) New random discoveries? (2005) [WebDNA] [BULK] Console / WebDNA no connection to module (2011) WCS Newbie question (1997) nslookup (2000) Snake Bites (1997) WebCat b15 Mac plug-in (1997) international time (1997) Cart # Starting at 1000 (2000) Using Applescript to process WebCatalog functions (1998) problems with 2 tags (1997) SendMail question (2004) E-mailer error codes (1997) webdna page not found redirect (2007) Weird error/limit - something amiss? (1997) Weird Cookie Problem Part 2 (2007) [WebDNA] SSL not working with WebDNA FCGI 8.5.1 (2020) [writefile] (1997) Associative lookup style? + bit more (1997) New One (for me).... Error type 12 (1999)