Mercurial > urweb
view tests/num.ur @ 1621:62d6d452c2b8
Change client-side int parsing to match server-side, in ignoring initial zeroes
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 03 Dec 2011 10:07:50 -0500 |
parents | fe8f75f7e130 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> {[ -1 ]}, {[ 1 + 1 ]}, {[ 9 - 3 ]}, {[ 9 * 3 ]}, {[ 9 / 3 ]}, {[ 9 % 3 ]}<br/> {[ -1.1 ]}, {[ 1.0 + 1.1 ]}, {[ 9.1 - 3.0 ]}, {[ 9.1 * 3.0 ]}, {[ 9.1 / 3.0 ]}, {[ 9.1 % 3.0 ]}<br/> </body></xml>