DaveChild / Text-Statistics

Generate information about text including syllable counts and Flesch-Kincaid, Gunning-Fog, Coleman-Liau, SMOG and Automated Readability scores.
https://readable.com/
BSD 2-Clause "Simplified" License
446 stars 107 forks source link

Floating point calculations should use bcmath() #14

Closed jrfnl closed 10 years ago

jrfnl commented 10 years ago

... as floating point calculation are notoriously unreliable if you don't use bcmath()

More info: http://floating-point-gui.de/ and http://www.php.net/manual/en/language.types.float.php

DaveChild commented 10 years ago

They're unreliable, but there are greater inaccuracies in the syllable counting, so I'm not too worried about 6th-digit precision in floats for now. You're very welcome to give it a try though! :)

jrfnl commented 10 years ago

Okidoki, will have a go when I can.

jrfnl commented 10 years ago

Closing - superseded by pull request #16.