SQLite Forum

Decimal128
Login
Yes please. *+1*


May I suggest, if not too exotic, to accept both strings and normal floats as parameters?

I would typically use:
```
SELECT decimal_div(LargeNumberColumn, NormalNumericColumn, d)
  FROM t
```

where that first column contains BigNum decimal strings and the second references some column with normal values, like TaxRate or such. 


And possibly then:
'123.4' < 345.67 COLLATE DECIMAL &rarr; TRUE

Though a cast can easily solve these (at the expense of slightly ugly code).

Thank you!

Ryan