0

here is my code

DecimalFormat df = new DecimalFormat("###.##");

This is what I get out

C:\Users\HP\Desktop\Java\Projects>javac MathCalculations.java
MathCalculations.java:24: error: cannot find symbol
                DecimalFormat df = new DecimalFormat("###.##");
                ^
  symbol:   class DecimalFormat
  location: class MathCalculations
MathCalculations.java:24: error: cannot find symbol
            DecimalFormat df = new DecimalFormat("###.##");

help please Ive been stuck on this for 3 and a half hours now.

0 Answers0