Author: Alex F. Bustos
Viewers: 29
Last month viewers: 1
Package: SI Prefix Converter
I'm preparing a new release for the library. It's my first time managing git repositories. I uploaded the code to SourceForge, from the first version (1.0) to the current version (1.1).
You can download the 1.1 version, are slightly compatibly backwards with the 1.0, there are the main changes:
- Private properties were changed to protected
- The class constructor was modified to allow the next 2 items:
1. Each List of prefixes (LOP) file now store also the base and limit values, and can be loaded from (and were modified to do this) - (and, to be used in the next version, the default stepping, scale).
2. Added the constant sci_def_set, to allow select the default base and limit values; comes from. (from the settings file or from the LOP file)
The function get_number() now can accept values like "K" (without coefficient, assuming it as 1).
When you want to use the class with binary prefixes, you don't need anymore the use of
new sci('binary_short',2,0,40)
You can simply instantiate it as new sci('binary_short').
You need to be a registered user or login to post a comment
1,613,437 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.