Re: Why does 0 divided by 1=1?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51098
interpreted = N
texte = >WebDNA 4.0.2 rc2 | WebSTAR/4.5 | MacOS>>My hand calculator says that 0 divided by 1 equals 0, but WebDNA says it= equals 1 (?!)>Can someone enlighten me, please?>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>MATH TEST:
>-----------
>1+1 should=3D2 --> [math]1+1[/math]
>1-1 should=3D0 --> [math]1-1[/math]
>1*1 should=3D1 --> [math]1*1[/math]
>1\1 should=3D1 --> [math]1\1[/math]
>
>0+1 should=3D1 --> [math]0+1[/math]
>0-1 should=3D-1 --> [math]0-1[/math]
>0*1 should=3D0 --> [math]0*1[/math]
>0\1 should=3D0 --> [math]0\1[/math]
\ is not division, it is divisible by - which makes no sense in a [math]= context. / is division.-- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>WebDNA 4.0.2 rc2 | WebSTAR/4.5 | MacOS>>My hand calculator says that 0 divided by 1 equals 0, but WebDNA says it= equals 1 (?!)>Can someone enlighten me, please?>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>MATH TEST:
>-----------
>1+1 should=3D2 --> [math]1+1[/math]
>1-1 should=3D0 --> [math]1-1[/math]
>1*1 should=3D1 --> [math]1*1[/math]
>1\1 should=3D1 --> [math]1\1[/math]
>
>0+1 should=3D1 --> [math]0+1[/math]
>0-1 should=3D-1 --> [math]0-1[/math]
>0*1 should=3D0 --> [math]0*1[/math]
>0\1 should=3D0 --> [math]0\1[/math]
\ is not division, it is divisible by - which makes no sense in a [math]= context. / is division.-- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Christer Olsson
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:
Weird Cookie Problem - your answer (2007)
[WebDNA] DigitalOcean Snapshots (2019)
webmerchant/ Mac Auth. and CC refunds (1998)
[WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?= (2016)
OK, here goes... (1997)
Error.html (1997)
[WebDNA] Quick sort/results grouping Q (2008)
Nested tags count question (1997)
[WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020)
Share cost of training videos! (1998)
counting characters and/or words (1997)
lookups (2000)
[isfile] ? (1997)
Math with Time (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Hyperboard/bulletin board available (1998)
[WebDNA] grep question (2009)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
BreadCrumb Trails (2001)
WebDNA 4.5.1 on Tiger Server (2005)