Mercurial > urweb
annotate 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 |
rev | line source |
---|---|
adamc@389 | 1 fun main () : transaction page = return <xml><body> |
adamc@390 | 2 {txt _ (-1)}, {txt _ (1 + 1)}, {txt _ (9 - 3)}, {txt _ (9 * 3)}, {txt _ (9 / 3)}, {txt _ (9 % 3)}<br/> |
adamc@390 | 3 {txt _ (-1.1)}, {txt _ (1.0 + 1.1)}, {txt _ (9.1 - 3.0)}, {txt _ (9.1 * 3.0)}, |
adamc@390 | 4 {txt _ (9.1 / 3.0)}, {txt _ (9.1 % 3.0)}<br/> |
adamc@389 | 5 </body></xml> |