Mercurial > urweb
view tests/num.ur @ 390:519366a76603
num_float
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 21 Oct 2008 10:40:22 -0400 |
parents | acaf9d19fbb7 |
children | fe8f75f7e130 |
line wrap: on
line source
fun main () : transaction page = return <xml><body> {txt _ (-1)}, {txt _ (1 + 1)}, {txt _ (9 - 3)}, {txt _ (9 * 3)}, {txt _ (9 / 3)}, {txt _ (9 % 3)}<br/> {txt _ (-1.1)}, {txt _ (1.0 + 1.1)}, {txt _ (9.1 - 3.0)}, {txt _ (9.1 * 3.0)}, {txt _ (9.1 / 3.0)}, {txt _ (9.1 % 3.0)}<br/> </body></xml>