Explorar el Código

Added a line about interactive usage with mathlib

Usually `bc` isn't very useful if it doesn't return have floating point number where appropriate. e.g., 3/4 returns 0 when started with `-i` but for most users they would expect 0.75 to be returned so the argument `-l`does what the user would generally want.
kalebo hace 8 años
padre
commit
1b5152e58f
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      pages/common/bc.md

+ 4 - 0
pages/common/bc.md

@@ -6,6 +6,10 @@
 
 `bc -i`
 
+- Run calculator in interactive mode with floating point support:
+
+`bc -l`
+
 - Calculate the result of an expression:
 
 `bc <<< "(1 + 2) * 2 ^ 2"`