On Saturday, April 21, 2018 at 7:53:42 AM UTC-4, Richard wrote:
>
> I hear you and I agree about that... I am just supprise that we have no 
> control over rouding of what goes in the database as it is very critical in 
> some use case with weird rounding spec that you could have in academic 
> sometime for instance.
>

You certainly have control over the inputs. If you want to encode your 
input rules in the table definition to get automatic transformations upon 
insert/update, you can use (a) a custom validator, (b) the filter_in 
argument, or (c) the _before_* callbacks.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to