Fix double square, square decimals in main