Posts by Dario Teodoro • 41 points
1 post
-
4
votes2
answers3760
viewsA: Calculation of the multiple of 10 greater than or equal to a value
I know it’s old, but there’s a simpler way.... if(soma%10==0){ multiplo = soma; }else{ multiplo = (soma-(soma%10))+10 }
c#answered Dario Teodoro 41