Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I separate the digits of an int number in Java

Asked by Audrey Berry Apr 16, 2021 1.6K views 1 answer
Share

About this question

If I have a number 2500, I want the output to be: 2, 5, 0, 0. How can I separate the numbers into digits? 

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.