Monthly Archives: April 2011

Rounding function for bc

bc doesn’t include a way to round floating point values to the nearest integer, but you can write one yourself. Just type this in: If you don’t feel like typing this in every time, you can add it to a … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments