Mercurial > urweb
comparison tests/toString.ur @ 285:e89076c41c39
toString for float and bool
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 10:20:42 -0400 |
parents | 77a28e7430bf |
children | df00701f2323 |
comparison
equal
deleted
inserted
replaced
284:77a28e7430bf | 285:e89076c41c39 |
---|---|
1 fun main () : transaction page = return <html><body> | 1 fun main () : transaction page = return <html><body> |
2 6 = {cdata (intToString 6)} | 2 6 = {cdata (intToString 6)}<br/> |
3 12.34 = {cdata (floatToString 12.34)}<br/> | |
4 False = {cdata (boolToString False)}<br/> | |
3 </body></html> | 5 </body></html> |