+ 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 RĂ©ponses
+ 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