Re: [WebDNA] divisible by 1
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106948
interpreted = N
texte = This approach seems like the values would be the same no matter what numbers you multiply by 1 ... but I'm trying to get whole numbers here.Sincerely,Kenneth Grome> 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=webdn> > a-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> > .
Associated Messages, from the most recent to the oldest:
This approach seems like the values would be the same no matter what numbers you multiply by 1 ... but I'm trying to get whole numbers here.Sincerely,Kenneth Grome> 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=webdn> > a-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> > .
Kenneth Grome
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:
[WriteFile] problems (1997)
Problem getting shipping to calculate (2003)
Search or delete (or date or time) has bugs ... (1998)
Busy WebCatalog (2000)
WebCommerce: Folder organization ? (1997)
Forum - Test Request (2005)
taxTotal, grandTotal (1997)
empty shopping cart message (1997)
Banner DNA (1997)
Running _every_ page through WebCat ? (1997)
Security Tip (1996)
quantity minimum problem (1997)
Re[2]: Re[2]: WebCatalog on Linux (2000)
OT: 128 bit Encryption (2003)
[WebDNA] WebDNA restart script (2015)
RE: formula.db, adding option prices (1997)
Virtual hosting and webcatNT (1997)
shipcost (1997)
RE: [WebDNA] German e-shop company proclaims "In Memory Computing" (2010)
[WebDNA] Middle Question (2015)