Math, asked by snlchandra7281, 9 months ago

how to know how many integer places in a integer in apex

Answers

Answered by Anonymous
0

Answer:

The Apex language is strongly typed so every variable in Apex will be declared with the specific data type.

Answered by RvChaudharY50
16

Answer:

static Integer length(Decimal input) { return (input == 0) ? 1 : 1 + (Integer)Math.floor(Math. log10(Math.abs(input))); } system.assertEquals

Similar questions