arithmetic expansion instead of expr 

better portability to Openelec that does not have expr