package test;
public class mulcheck {
public static void main(String[] args) {
double output = (125000 / (1-0.035));
double finout = output * 1000;
System.out.println(finout);
}
}
output 1.2953367875647669E8
expected output 12,95,33,678.7564766
after multiplying the value received in output variable with 1000 instead of moving the decimal to the right it is giving above output
tried using float....