this post was resoulus   to  see the solution see the 
post https://groups.google.com/forum/#!topic/web2py/nb-xnYhJKao

Le mardi 16 septembre 2014 09:21:07 UTC+2, eric cuver a écrit :
>
> I'm on the home stretch of my application. I want to know I sought but I 
> can not find. from the database. I have this problem. 
>
> db.define_table ('spot' 
>      Field ('analyse_des_besoins', 'double')  analyse_des_besoins== 50 %
>      Field ('patent', 'double') 'patent===10%
>      Field ('marketing', 'double') marketing === 20%
>      Field ('design', 'double') design==10%
>      Field ('definition_du_projet', 'double') == 20%
>      Field ('time', 'time'))==1h20
>
> i must convert  Field ('time', 'time')) in minute and then convert it in 
> float to can calculate a percentage with each field ( Field 
> ('analyse_des_besoins',Field ('patent',),   Field ('marketing', 
> 'double')...... )
>
> thank you
>

-- 
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