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.MarcOn 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 ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Associated Messages, from the most recent to the oldest:
I usually multiply by 1 and then compare the val before and after.MarcOn 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 ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.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)