diff options
author | 2013-12-03 16:54:04 -0500 | |
---|---|---|
committer | 2013-12-03 16:54:04 -0500 | |
commit | d89fd37a66ab73ea7eba5e2574c4e679c4026f0b (patch) | |
tree | ae916e054118cec51b56e8eeb0f0a6f1157cb648 /tests/sqlprecision.ur | |
parent | abf4da5f80ce9ba5f693aa8fc2493eb28cd8e6f3 (diff) |
Increase precision for rendering floats to SQL
Diffstat (limited to 'tests/sqlprecision.ur')
-rw-r--r-- | tests/sqlprecision.ur | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/sqlprecision.ur b/tests/sqlprecision.ur new file mode 100644 index 00000000..0391ea04 --- /dev/null +++ b/tests/sqlprecision.ur @@ -0,0 +1,12 @@ +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> |