Re: Math Blind

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26948
interpreted = N
texte = >Why does the following equation.... > >[SubTotalFigure]+[TaxFigure]+[CRVFigure]+[DeliveryFigure] > > >give me this result: 16.26+1.17885+0.15+10 > >But this equation: >[format 100.2f][math]TaxFigure=[SubTotalFigure]*[showif >[Location]=Fresno]0.07875[/showif][showif >[Location]=Hanford]0.0725[/showif][/math][/format] > >gives me this result: > >$ 1.18 > >Shouldn't the above [TaxFigure] be replaced with 1.18 instead of 1.17885 ?No, because the bottom formula is formatted to two decimal places, the top one is not.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Math Blind (Kimberly D Ingram 2000)
  2. Re: Math Blind (Kenneth Grome 2000)
>Why does the following equation.... > >[SubTotalFigure]+[TaxFigure]+[CRVFigure]+[DeliveryFigure] > > >give me this result: 16.26+1.17885+0.15+10 > >But this equation: >[format 100.2f][math]TaxFigure=[SubTotalFigure]*[showif >[Location]=Fresno]0.07875[/showif][showif >[Location]=Hanford]0.0725[/showif][/math][/format] > >gives me this result: > >$ 1.18 > >Shouldn't the above [TaxFigure] be replaced with 1.18 instead of 1.17885 ?No, because the bottom formula is formatted to two decimal places, the top one is not.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to 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:

WYSIWYG Entry of text fields (2001) [OT] Linux -> Winderz (2005) This list needs a digest: rant, rave... (1997) [WebDNA] Calculate Cube root (2012) [Announce] Newest Commerce Site based on WebCatalog (1997) Still Stumped on ShowNext...HELP! (1997) rotating thumbnails (1997) Date calculation problems (1997) Auto-email upon restart? (2001) WebCat2b12 CGI Mac - [shownext] problem (1997) Javascripts (1998) Assigning carts (1998) Online reference (1997) Separate SSL Server (1997) Conveting Characters to Graphics (1997) question on [delete] (1998) Can this be done? (2003) [Announce]: Web server security and password protection (1997) Trouble with formula.db (1997) faxing orders (2000)