Questions tagged as 'tipagem'

4
answers

Mathematical division needs

On the Windows calculator: 9 / 3,0001 = 2,999 ... In my program: 9 / 3,0001 = 3; I would like to get this level of precision using C. See excerpts from my program: double op(double num1, double num2, char c) { if(c == '/')...
asked by 25.10.2014 / 18:23
2
answers

Know the type of return of a given

I have a problem with the return type of a data in python. First I was trying: >>> type(record[0][keys[2]]) <class 'Bio.Entrez.Parser.StringElement'> I tried to check for if >>> type(record[0][keys[2]])i...
asked by 04.12.2016 / 14:28
7
answers

Best data type to work with money?

I'm developing a project for commercial automation, using PAF-ECF and everything else. What would be the best data type to work with SQL Server and C # for money issues? Especially in relation to rounding and truncations. I imagine the bes...
asked by 13.02.2014 / 23:33
1
answer

Ajax - Float Parameter

Hello, I need ajax help, I think it's a silly thing, but I'm having a hard time and I did not find anything related on the internet about it, I need to pass ajax parameter to my controller, but float type, I created a json object to try to get t...
asked by 28.12.2015 / 12:46
2
answers

Field type suitable for saving currency in Oracle

Is there any problem in saving data with a comma or period (.) in my database (SQL Developer)? What is the most appropriate variable to declare for currency (price) fields?     
asked by 15.10.2016 / 01:58
2
answers

Column INT only accepting positive values

How to set table in MySQL so that certain column INT accept only positive values?     
asked by 13.08.2018 / 02:57
2
answers

Problem to send values of type 11.50 to SQL Server database

I have a formatting problem of values of type R $ when I send to the database 11.50 in the database it is of type 1150. This is the push button of the submit button for the database has a database management class cl_GestorBD private...
asked by 06.06.2018 / 15:50