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 luckgetting 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:
I thought it was [math]whole=123.12%0[/math], but I am not having luckgetting 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:
displaying New products (using [date]) (1997)
Separate server for jpg/gif files (1998)
Did you hear about this? (1997)
WC Database Format (1997)
Include a big block of text (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
return missing item (was:WebCat Sales) (1997)
Frames and WebCat (1997)
Running _every_ page through WebCat-error.html (1997)
Help with Repost Data msg from form (1997)
Sorting Numbers (1997)
Pulling Javascript from a DB (2004)
Another new bug found ... (2000)
Sendmail question (2005)
serial number dishing (1997)
Upgrading old WebCat Database Files (1997)
SSL/Document Contains NO Data (1998)
PCS Frames (1997)
Date Range works (1997)
Re[2]: OT: Amazon Patents (2000)