view tests/sqlprecision.ur @ 2027:4f2190b178e6

New release
author Adam Chlipala <adam@chlipala.net>
date Sun, 15 Jun 2014 09:18:01 -0400
parents 2f33d9a51765
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>