Voting

: four minus two?
(Example: nine)

The Note You're Voting On

charles dot adrian dot wood at gmail dot com
6 years ago
Please note that bcsub will fail in non-obvious ways if it's fed something that cannot be converted to a number. For instance:

bcsub('yes', 'no') === '0'

Yes, if you put garbage in, you get garbage out. Just don't expect bcsub to throw an error when you feed it an entirely non-numeric value.

<< Back to user notes page

To Top