Re: Weird Math

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27544
interpreted = N
texte = >It seems that my math functions are evaluating to >radians instead of to degrees and are requiring radians for input rather >than degrees. For example, [math]acos(.6)[/math] evaluates to >0.927295218001612 which if multiplied by 180/3.14159 you get the value of >53.13 that's in the manual. As another example, [math]cos(45)[/math] >evaluates to 0.52532198881773 instead of 0.70 as the manual states, >whereas [math]cos(45*3.14159/180)[/math] evaluates to 0.7. Finally, some >expressions aren't evaluating at all such as pi.What version and what OS? And what manual, the PDF?Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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. Re: Weird Math (WebDNA Support 2000)
  2. Re: Weird Math (Brian Wachter 2000)
  3. Re: Weird Math (WebDNA Support 2000)
  4. Re: Weird Math (Brian Wachter 2000)
  5. Re: Weird Math (WebDNA Support 2000)
  6. Weird Math (Brian Wachter 2000)
  7. Re: Weird Math and SV Bad News (Grant Hulbert 1997)
  8. Re: Weird Math and SV Bad News (bob 1997)
  9. Re: Weird Math and SV (bob 1997)
  10. Re: Weird Math and SV (Bob Minor 1997)
  11. Re: Weird Math and SV (Grant Hulbert 1997)
  12. Re: Weird Math and SV (Bob Minor 1997)
  13. Re: Weird Math and SV (Grant Hulbert 1997)
  14. Re: Weird Math and SV (bob 1997)
  15. Re: Weird Math and SV (Grant Hulbert 1997)
  16. Weird Math and SV (bob 1997)
>It seems that my math functions are evaluating to >radians instead of to degrees and are requiring radians for input rather >than degrees. For example, [math]acos(.6)[/math] evaluates to >0.927295218001612 which if multiplied by 180/3.14159 you get the value of >53.13 that's in the manual. As another example, [math]cos(45)[/math] >evaluates to 0.52532198881773 instead of 0.70 as the manual states, >whereas [math]cos(45*3.14159/180)[/math] evaluates to 0.7. Finally, some >expressions aren't evaluating at all such as pi.What version and what OS? And what manual, the PDF?Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 WebDNA Support

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:

Error: this shopping cart has already been submittedm (2004) WebCat editing, SiteGuard & SiteEdit (1997) Add sizes from check boxes (2002) How does 4DWebSTAR V's cache work? (2002) Questions To Answer (1997) Strange intermittent WebDNA problems (2008) won't serve .tpl -index.tpl gone, made test.tpl (2000) Can't Update records (1997) Multiple cart additions (1997) [WebDNA] [AddFields] Restrictions (2008) View Source from cache (1997) WebCatalog2 Feature Feedback (1996) Re2: frames & carts (1997) Re:2nd WebCatalog2 Feature Request (1996) To Err or Not Custom Error (1999) Email (1998) formatting dates from a field ... (1997) More Applescript (1997) Show items based on login Password (2003) Re:F*** you (1998)