Re: Round up prices

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30931
interpreted = N
texte = >I'm having a few problems with the way that WebCatalog is rounding off prices. >It's only a problem when the figures end .xx5 (IE: 1291.325). > >All the programs I've come across (including the one that handles >all our sales order processing after it's been passed from >WebCatalog - ACI 4D) >will round this number UP, but WebCatalog rounds this DOWN.No options, that's just how it works, but you can get around this problem by writing custom webdna code that detects the 5 in the 3rd decimal place and deals with it the way you want to deal with it, instead of the way webcatalog deals with it. ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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. Re: Round up prices (Aaron Lynch 2000)
  2. Re: Round up prices (John Peacock 2000)
  3. Re: Round up prices (Aaron Lynch 2000)
  4. Re: Round up prices (John Peacock 2000)
  5. Re: Round up prices (Christer Olsson 2000)
  6. Re: Round up prices (Mark Derrick 2000)
  7. Re: Round up prices (John Peacock 2000)
  8. Re: Round up prices (Christer Olsson 2000)
  9. Re: Round up prices (John Peacock 2000)
  10. Re: Round up prices (John Butler 2000)
  11. Re: Round up prices (Scott Tolley 2000)
  12. Re: Round up prices (Mark Derrick 2000)
  13. Re: Round up prices (Mark Derrick 2000)
  14. Re: Round up prices (Kenneth Grome 2000)
  15. Round up prices (Mark Derrick 2000)
>I'm having a few problems with the way that WebCatalog is rounding off prices. >It's only a problem when the figures end .xx5 (IE: 1291.325). > >All the programs I've come across (including the one that handles >all our sales order processing after it's been passed from >WebCatalog - ACI 4D) >will round this number UP, but WebCatalog rounds this DOWN.No options, that's just how it works, but you can get around this problem by writing custom webdna code that detects the 5 in the 3rd decimal place and deals with it the way you want to deal with it, instead of the way webcatalog deals with it. ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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:

webcat running as www, should that be webstar for use withwebstar? (2002) [OT] Games (2005) form crasehes server (1997) Make sure I understand this??? (1997) Cart -> Date and Time (2004) problems with 2 tags (1997) Resetting a Formvariable (2000) AutoCommit Preference? (1998) Date Time Oddness (1999) Multiple transactions per cart (2000) looping table rows (1999) WebCat b13 CGI -shownext- (1997) New Site WebCat (1997) international time (1997) SMSI (Scott) clues?? Bug fixes for next WebDNA release (2005) [WriteFile] problems (1997) Webcatalog error, Plug-in for Webstar (1996) WebCatalog for Mac 2.0.1 Released (1997) FEA REQ: One .hdr, multiple .db's (2003) test (2001)