code compiling, but will not actually work

int num= (int)blue.read()- '0';

So much easier to read and understand, don't you think?