Posts by Quito Gaspar • 97 points
5 posts
-
1
votes1
answer821
viewsQ: Accept comma in jquery / Javascript calculation
The system does not work when typing number with comma, for example 2,14, 22,14 and so on... only with end point 2.14, 22.14 and so on... Below the function I use. How to use function with the…
-
1
votes2
answers1597
viewsQ: Query per month and year (Php + SQL)
I have a system in PHP where I use the datatables plugin, I can sort by date, but the user wants to stipulate the period for consultation, for example: Select from 01/01/2016 until 01/31/2016 and…
-
0
votes0
answers174
viewsQ: Format an input number
I have a system that calculates the average of the fields and then executes the javascript below, only the result comes out like this 0.222048 and the correct would be 222.048, how to do this…
-
2
votes1
answer1658
viewsQ: Decimal place - Jquery
Good afternoon! The code below calculates the average, however, depending on the value it is periodically decimated, how to round the values in decimals, for example 0.00 or 00.00? Thank you. HTML:…
-
5
votes3
answers538
viewsQ: Average only in typed fields
Hello, I’m programming a system where you average some fields. The point is that not always all values will be informed and the average should calculate the fields in which there are values, that…