Re: [WebDNA] divisible by 1

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106960
interpreted = N
texte = One more thing. As Ken pointed out, be sure to "[url][params_string][/url]"... On 7/13/2011 11:40 PM, Donovan Brooke wrote: > [function name=iswhole] > [if "[math]ceil(abs([params_string]))[/math]"="[params_string]"] > [then][return]T[/return][/then] > [else][return]F[/return][/else] > [/if] > [/function] > > [showif [iswhole 1234]=T] > 1234 is a whole number > [/showif] > >
> > > -123:[iswhole -123]
> > 123:[iswhole 123]
> > 1.2:[iswhole 1.2]
> > 123,45:[iswhole 123,45]
> > 123.a:[iswhole 123.a]
> > abc:[iswhole abc]
> > 123 45:[iswhole 123 45]
> > > - Donovan > > > -- ------------------------------------------- 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)
One more thing. As Ken pointed out, be sure to "[url][params_string][/url]"... On 7/13/2011 11:40 PM, Donovan Brooke wrote: > [function name=iswhole] > [if "[math]ceil(abs([params_string]))[/math]"="[params_string]"] > [then][return]T[/return][/then] > [else][return]F[/return][/else] > [/if] > [/function] > > [showif [iswhole 1234]=T] > 1234 is a whole number > [/showif] > >
> > > -123:[iswhole -123]
> > 123:[iswhole 123]
> > 1.2:[iswhole 1.2]
> > 123,45:[iswhole 123,45]
> > 123.a:[iswhole 123.a]
> > abc:[iswhole abc]
> > 123 45:[iswhole 123 45]
> > > - Donovan > > > -- ------------------------------------------- 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:

bug in Webcat OSX (1999) Add message to Order (1997) access denied problem (1997) Targeted Redirect (1999) [cart] clarification... (1997) Wireless WebDNA available today! (2000) WebCat2 - Getting to the browser's username/password data (1997) Re:Off Topic- THANKS to EVERYBODY!!! (1999) page redirect in webDNA (1997) PHP Live (2005) Hello??? (1997) Pithy questions on webcommerce & siteedit (1997) WebCat2 beta FTP site (1997) Date question (2003) how does multiple [cart] commands work? (2007) WebCat2 - Getting to the browser's username/password data (1997) creating a ShipCosts database (1997) Look out kiwis! (2003) Forms (1997) ShowIf variables (1997)