33 Commits

Author SHA1 Message Date
rnd-debug
a34ebc2478
Providing overridable Unit.isValidAlpha (#2000)
* first commit

* providing some tests

* some docs
2020-10-28 11:50:45 +01:00
Eric Mansfield
97ff95b32c Added baseName option to createUnit (#1708)
* Fixed unit base recognition and formatting for user-defined units

* Added baseName option to createUnit

* Trailing spaces

* Fixed line in docs
2020-01-08 10:23:23 +01:00
jos
718b93b2b4 Create unit aliases bit and byte 2019-08-28 15:41:39 +02:00
jos
6081360d6a Merged develop into modular_architecture 2019-04-13 16:51:51 +02:00
jos
70cbc3ec30 Replace http urls with https where supported 2019-02-27 13:08:42 +01:00
jos
078f1dd69f Renamed methods .eval to .evaluate, updated all docs and examples accordingly 2019-01-16 10:11:32 +01:00
Daniel Kostro
0fab3e1523
fix format link in units page 2018-07-07 09:58:47 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
ericman314
e96cad0370 Corrects round-off errors in splitUnit 2017-06-04 22:18:43 -06:00
ericman314
d24b945cb1 Added Unit.prototype.toSI 2017-03-29 08:46:34 -06:00
Adam Butler
9a6ea3203c Fix incorrect case 2016-10-13 16:00:17 +01:00
Eric
fbbbabd937 Added docs 2016-08-06 13:03:49 -06:00
Eric
b0b607d967 Finished docs 2016-07-27 23:50:49 -06:00
Eric
fa757fccf5 Began working on docs for createUnit 2016-07-26 20:57:46 -06:00
Jos de Jong
ebd1c11ee6 Merge pull request #596 from hgupta9/develop
Add kip unit
2016-03-05 10:12:19 +01:00
hgupta9
f86d3d8a9e add kip unit 2016-03-05 12:28:54 +05:30
jos
e152c9943c Fixed a lot of broken links 2016-03-04 16:56:19 +01:00
hgupta9
45a37ba731 class-wise API and new units 2016-03-02 18:30:55 +05:30
jos
5adbe0a055 Extended Unit with support for all numeric types (Fraction, BigNumber) 2015-11-27 22:45:27 +01:00
Eric
03ec30216e Added support for units to abs, cube, sign, sqrt, square
Updated examples, docs, and unit tests
2015-08-21 05:27:54 +00:00
jos
1235ed485a Minor formatting 2015-08-11 22:28:42 +02:00
Eric
37870fcc0d Added support for parentheses to Unit.parse 2015-08-09 20:42:05 +00:00
Eric
23044e29ca Updated more docs
Fixed tabs
2015-08-06 13:47:01 +00:00
Eric
f5d166a809 Made an attempt at derived units with simplification
Updated unit tests
Updated examples
Updated docs
2015-08-04 05:26:00 +00:00
jos
bda176359b Documented fromJSON and toJSON 2015-02-26 22:20:48 +01:00
jos
904f4ed8df Added some docs about converting a unit to a number with the expression parser 2015-01-05 21:07:00 +01:00
jos
fa4a23c34b math.number can convert units to numbers (requires a second argument) 2014-09-03 21:29:16 +02:00
jos
cb2b9b00ce Created a separate page Unit reference 2014-06-24 14:33:23 +02:00
jos
64368ec4ad Added unit drop (gtt) 2014-06-09 09:34:53 +02:00
josdejong
f568ae75c1 More unit tests added 2014-04-03 20:58:43 +02:00
josdejong
8226e524f9 Added plurals and aliases for units. 2014-01-18 14:19:08 +01:00
josdejong
af04f24882 Updated docs and examples for renamed operator to. 2013-12-21 21:30:10 +01:00
josdejong
335dccfa5b Moved docs on data types in a separate directory 2013-11-27 12:14:47 +01:00