+fun isNegative (bal : balance) = #amount bal < 0.0
+
+fun depositAmount _ = 7.0 * 3.0
+(*fun depositAmount bal =
+ let
+ val db = getDb ()
+
+ val totalShares = case C.oneRow db "SELECT SUM(shares) FROM WebUserPaying" of
+ [n] => C.intFromSql n
+ | row => Init.rowError ("Bad depositAmount share count result", row)
+ in
+ 3.0 * 900.0 / real totalShares
+ end*)
+