Mercurial > urweb
view tests/sqlprecision.ur @ 1920:2f33d9a51765
Increase precision for rendering floats to SQL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 03 Dec 2013 16:54:04 -0500 |
parents | |
children |
line wrap: on
line source
table t : { N : float } fun insert r = dml (INSERT INTO t (N) VALUES ({[readError r.N]})); return <xml/> fun main () = return <xml><body> <form> <textbox{#N}/> <submit action={insert}/> </form> </body></xml>