how to know how many integer places in a integer in apex
Answers
Answered by
0
Answer:
The Apex language is strongly typed so every variable in Apex will be declared with the specific data type.
Answered by
16
Answer:
static Integer length(Decimal input) { return (input == 0) ? 1 : 1 + (Integer)Math.floor(Math. log10(Math.abs(input))); } system.assertEquals
Similar questions
Computer Science,
5 months ago
English,
5 months ago
Social Sciences,
5 months ago
Math,
10 months ago
History,
1 year ago
English,
1 year ago