SyntaxFix
Write A Post
Hire A Developer
Questions
Declare it as a decimal which uses the int variable and divide this by 100
decimal
int
int number = 700 decimal correctNumber = (decimal)number / 100;
Edit: Bala was faster with his reaction