+ 2

Can anyone tell me how i convert ( 75.95) to (7595) ? Using JAVA !!

The main question is "to read the price of an item in decimal from (like 75.95) and print the output in paise(like 7595 paise)"

3rd Jan 2021, 9:22 AM
𝑲𝒐𝒐𝒌!𝒆.♥︎
𝑲𝒐𝒐𝒌!𝒆.♥︎ - avatar
3 ответов
+ 5
Kookie multiply with 100
3rd Jan 2021, 9:25 AM
A͢J
A͢J - avatar
+ 2
Kookie System.out.println(price*100);
3rd Jan 2021, 9:27 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 2
Thank u
3rd Jan 2021, 9:42 AM
𝑲𝒐𝒐𝒌!𝒆.♥︎
𝑲𝒐𝒐𝒌!𝒆.♥︎ - avatar