Comparing two Numbers up to two decimal

 import java.util.Scanner;


public class Comp2NoDec {

public static void main(String[] args) {
Scanner sc = new Scanner(System.in);

System.out.print("Input first floating­point number: ");
double a = sc.nextDouble();
System.out.print("Input second floating­point number: ");
double b = sc.nextDouble();
input.close();
if (Math.abs(a - b) <= 0.01) {
System.out.println("These numbers are the same.");
}
else {
System.out.println("These numbers are different.");
}
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...