Posts by Artur Todeschini • 31 points
2 posts
-
0
votes3
answers196
viewsA: How to select to find a record between two values?
Select * from sua_tabela where 2500 >= valor_min and 2500 <= valor_max
-
3
votes5
answers80372
viewsA: How to "round" a float in Python?
use a truncation function import math def truncate(number, digits) -> float: stepper = pow(10.0, digits) return math.trunc(stepper * number) / stepper print(truncate((0.1 + 0.2), 2))…