Syntax error comparing floats with bc

view story

http://unix.stackexchange.com – I'm trying to use the comparison operator of bc and I'm getting a "syntax error on line 1 stdin" error. I need to use the comparison functionality within a korn script because korn doesn't handle floating points well. Example usage below: echo "scale=2; 3.2 > 3" | bc (HowTos)