uom-types 2.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/dist/_angle-plane.d.cts +89 -0
- package/dist/_angle-plane.d.mts +89 -0
- package/dist/_identity.d.cts +29 -0
- package/dist/_identity.d.mts +29 -0
- package/dist/_index.d.cts +235 -0
- package/dist/_index.d.mts +235 -0
- package/dist/_time-duration.d.cts +482 -0
- package/dist/_time-duration.d.mts +482 -0
- package/dist/{functions-ho.cjs → functions-higher-order.cjs} +31 -4
- package/dist/{functions-ho.d.cts → functions-higher-order.d.cts} +37 -8
- package/dist/{functions-ho.d.mts → functions-higher-order.d.mts} +37 -8
- package/dist/{functions-ho.mjs → functions-higher-order.mjs} +31 -4
- package/dist/functions.cjs +167 -5
- package/dist/functions.d.cts +169 -26
- package/dist/functions.d.mts +169 -26
- package/dist/functions.mjs +155 -6
- package/dist/index.d.cts +1 -86
- package/dist/index.d.mts +1 -86
- package/dist/units-converters.cjs +564 -0
- package/dist/units-converters.d.cts +370 -0
- package/dist/units-converters.d.mts +370 -0
- package/dist/units-converters.mjs +483 -0
- package/dist/units.d.cts +3056 -0
- package/dist/units.d.mts +3056 -0
- package/package.json +61 -48
- package/dist/si-units-converters.cjs +0 -2
- package/dist/si-units-converters.d.cts +0 -2
- package/dist/si-units-converters.d.mts +0 -2
- package/dist/si-units-converters.mjs +0 -1
- package/dist/si-units.d.cts +0 -5
- package/dist/si-units.d.mts +0 -5
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var functions = require('./functions.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Convert {@link Radian} to {@link Degree}.
|
|
7
|
+
*/
|
|
8
|
+
function radiansToDegrees(angle) {
|
|
9
|
+
return functions.mul(angle, (180 / Math.PI));
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Convert {@link Radian} to {@link Gradian}.
|
|
13
|
+
*/
|
|
14
|
+
function radiansToGradians(angle) {
|
|
15
|
+
return functions.mul(angle, (200 / Math.PI));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Convert {@link Radian} to {@link Turn}.
|
|
19
|
+
*/
|
|
20
|
+
function radiansToTurns(angle) {
|
|
21
|
+
return functions.div(angle, Math.PI);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Convert {@link Degree} to {@link Radian}.
|
|
25
|
+
*/
|
|
26
|
+
function degreesToRadians(angle) {
|
|
27
|
+
return functions.mul(angle, (Math.PI / 180));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Convert {@link Degree} to {@link Gradian}.
|
|
31
|
+
*/
|
|
32
|
+
function degreesToGradians(angle) {
|
|
33
|
+
return functions.mul(angle, (10 / 9));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Convert {@link Degree} to {@link Turn}.
|
|
37
|
+
*/
|
|
38
|
+
function degreesToTurns(angle) {
|
|
39
|
+
return functions.div(angle, 360);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Convert {@link Gradian} to {@link Radian}.
|
|
43
|
+
*/
|
|
44
|
+
function gradiansToRadians(angle) {
|
|
45
|
+
return functions.mul(angle, (Math.PI / 400));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Convert {@link Gradian} to {@link Degree}.
|
|
49
|
+
*/
|
|
50
|
+
function gradiansToDegrees(angle) {
|
|
51
|
+
return functions.mul(angle, (9 / 10));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Convert {@link Gradian} to {@link Turn}.
|
|
55
|
+
*/
|
|
56
|
+
function gradiansToTurns(angle) {
|
|
57
|
+
return functions.div(angle, 400);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Convert {@link Turn} to {@link Radian}.
|
|
61
|
+
*/
|
|
62
|
+
function turnsToRadians(angle) {
|
|
63
|
+
return functions.mul(angle, (2 * Math.PI));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Convert {@link Turn} to {@link Degree}.
|
|
67
|
+
*/
|
|
68
|
+
function turnsToDegrees(angle) {
|
|
69
|
+
return functions.mul(angle, 360);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Convert {@link Turn} to {@link Gradian}.
|
|
73
|
+
*/
|
|
74
|
+
function turnsToGradians(angle) {
|
|
75
|
+
return functions.mul(angle, 400);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Convert {@link Square}<{@link Metre}> to {@link Are}.
|
|
80
|
+
*/
|
|
81
|
+
function squareMetresToAres(area) {
|
|
82
|
+
return functions.div(area, 100);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Convert {@link Square}<{@link Metre}> to {@link Hectare}.
|
|
86
|
+
*/
|
|
87
|
+
function squareMetresToHectares(area) {
|
|
88
|
+
return functions.div(area, 10_000);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Convert {@link Are} to {@link Square}<{@link Metre}>.
|
|
92
|
+
*/
|
|
93
|
+
function aresToSquareMetres(area) {
|
|
94
|
+
return functions.mul(area, 100);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Convert {@link Are} to {@link Hectare}.
|
|
98
|
+
*/
|
|
99
|
+
function aresToHectares(area) {
|
|
100
|
+
return functions.div(area, 100);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Convert {@link Hectare} to {@link Square}<{@link Metre}>.
|
|
104
|
+
*/
|
|
105
|
+
function hectaresToSquareMetres(area) {
|
|
106
|
+
return functions.mul(area, 10_000);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Convert {@link Hectare} to {@link Are}.
|
|
110
|
+
*/
|
|
111
|
+
function hectaresToAres(area) {
|
|
112
|
+
return functions.mul(area, 100);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Convert {@link Second} to {@link Minute}.
|
|
117
|
+
*/
|
|
118
|
+
function secondsToMinutes(duration) {
|
|
119
|
+
return functions.div(duration, 60);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Convert {@link Second} to {@link Hour}.
|
|
123
|
+
*/
|
|
124
|
+
function secondsToHours(duration) {
|
|
125
|
+
return functions.div(duration, 3600);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Convert {@link Minute} to {@link Second}.
|
|
129
|
+
*/
|
|
130
|
+
function minutesToSeconds(duration) {
|
|
131
|
+
return functions.mul(duration, 60);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Convert {@link Minute} to {@link Hour}.
|
|
135
|
+
*/
|
|
136
|
+
function minutesToHours(duration) {
|
|
137
|
+
return functions.div(duration, 60);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Convert {@link Hour} to {@link Second}.
|
|
141
|
+
*/
|
|
142
|
+
function hoursToSeconds(duration) {
|
|
143
|
+
return functions.mul(duration, 3600);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Convert {@link Hour} to {@link Minute}.
|
|
147
|
+
*/
|
|
148
|
+
function hoursToMinutes(duration) {
|
|
149
|
+
return functions.mul(duration, 60);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Convert {@link Hour} to {@link Day}.
|
|
153
|
+
*/
|
|
154
|
+
function hoursToDays(duration) {
|
|
155
|
+
return functions.div(duration, 24);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Convert {@link Day} to {@link Hour}.
|
|
159
|
+
*/
|
|
160
|
+
function daysToHours(duration) {
|
|
161
|
+
return functions.mul(duration, 24);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Convert {@link Day} to {@link Week}.
|
|
165
|
+
*/
|
|
166
|
+
function daysToWeeks(duration) {
|
|
167
|
+
return functions.div(duration, 7);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Convert {@link Day} to {@link Year}.
|
|
171
|
+
*
|
|
172
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
173
|
+
* Use an actual date/time library if you need more control.
|
|
174
|
+
*/
|
|
175
|
+
function daysToYears(duration) {
|
|
176
|
+
return functions.div(duration, 365.25);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Convert {@link Week} to {@link Day}.
|
|
180
|
+
*/
|
|
181
|
+
function weeksToDays(duration) {
|
|
182
|
+
return functions.mul(duration, 7);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Convert {@link Week} to {@link Year}.
|
|
186
|
+
*/
|
|
187
|
+
function weeksToYears(duration) {
|
|
188
|
+
return daysToYears(weeksToDays(duration));
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Convert {@link Year} to {@link Day}.
|
|
192
|
+
*
|
|
193
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
194
|
+
* Use an actual date/time library if you need more control.
|
|
195
|
+
*/
|
|
196
|
+
function yearsToDays(duration) {
|
|
197
|
+
return functions.mul(duration, 365.25);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Convert {@link Year} to {@link Week}.
|
|
201
|
+
*/
|
|
202
|
+
function yearsToWeeks(duration) {
|
|
203
|
+
return daysToWeeks(yearsToDays(duration));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Convert {@link Joule} to {@link WattMinute}.
|
|
208
|
+
*/
|
|
209
|
+
function joulesToWattMinutes(energy) {
|
|
210
|
+
return functions.div(energy, 60);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Convert {@link Joule} to {@link WattHour}.
|
|
214
|
+
*/
|
|
215
|
+
function joulesToWattHours(energy) {
|
|
216
|
+
return functions.div(energy, 3600);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Convert {@link WattMinute} to {@link Joule}.
|
|
220
|
+
*/
|
|
221
|
+
function wattMinutesToJoules(energy) {
|
|
222
|
+
return functions.mul(energy, 60);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Convert {@link WattHour} to {@link Joule}.
|
|
226
|
+
*/
|
|
227
|
+
function wattHoursToJoules(energy) {
|
|
228
|
+
return functions.mul(energy, 3600);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Convert {@link Hertz} to {@link PerMinute}.
|
|
233
|
+
*/
|
|
234
|
+
function hertzToPerMinute(frequency) {
|
|
235
|
+
return functions.mul(frequency, 60);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Convert {@link Hertz} to {@link PerHour}.
|
|
239
|
+
*/
|
|
240
|
+
function hertzToPerHour(frequency) {
|
|
241
|
+
return functions.mul(frequency, 3600);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Convert {@link PerMinute} to {@link Hertz}.
|
|
245
|
+
*/
|
|
246
|
+
function perMinuteToHertz(frequency) {
|
|
247
|
+
return functions.div(frequency, 60);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Convert {@link PerMinute} to {@link PerHour}.
|
|
251
|
+
*/
|
|
252
|
+
function perMinuteToPerHour(frequency) {
|
|
253
|
+
return functions.mul(frequency, 60);
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Convert {@link PerHour} to {@link Hertz}.
|
|
257
|
+
*/
|
|
258
|
+
function perHourToHertz(frequency) {
|
|
259
|
+
return functions.div(frequency, 3600);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Convert {@link PerHour} to {@link PerMinute}.
|
|
263
|
+
*/
|
|
264
|
+
function perHourToPerMinute(frequency) {
|
|
265
|
+
return functions.div(frequency, 60);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Convert {@link PerHour} to {@link PerDay}.
|
|
269
|
+
*/
|
|
270
|
+
function perHourToPerDay(frequency) {
|
|
271
|
+
return functions.mul(frequency, 24);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Convert {@link PerDay} to {@link PerHour}.
|
|
275
|
+
*/
|
|
276
|
+
function perDayToPerHour(frequency) {
|
|
277
|
+
return functions.div(frequency, 24);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Convert {@link PerDay} to {@link PerWeek}.
|
|
281
|
+
*/
|
|
282
|
+
function perDayToPerWeek(frequency) {
|
|
283
|
+
return functions.mul(frequency, 7);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Convert {@link PerDay} to {@link PerYear}.
|
|
287
|
+
*
|
|
288
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
289
|
+
* Use an actual date/time library if you need more control.
|
|
290
|
+
*/
|
|
291
|
+
function perDayToPerYear(frequency) {
|
|
292
|
+
return functions.mul(frequency, 365.25);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Convert {@link PerWeek} to {@link PerDay}.
|
|
296
|
+
*/
|
|
297
|
+
function perWeekToPerDay(frequency) {
|
|
298
|
+
return functions.div(frequency, 7);
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Convert {@link PerWeek} to {@link PerYear}.
|
|
302
|
+
*/
|
|
303
|
+
function perWeekToPerYear(frequency) {
|
|
304
|
+
return perDayToPerYear(perWeekToPerDay(frequency));
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Convert {@link PerYear} to {@link PerDay}.
|
|
308
|
+
*
|
|
309
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
310
|
+
* Use an actual date/time library if you need more control.
|
|
311
|
+
*/
|
|
312
|
+
function perYearToPerDay(frequency) {
|
|
313
|
+
return functions.div(frequency, 365.25);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Convert {@link PerYear} to {@link PerWeek}.
|
|
317
|
+
*/
|
|
318
|
+
function perYearToPerWeek(frequency) {
|
|
319
|
+
return perDayToPerWeek(perYearToPerDay(frequency));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Convert {@link Gram} to {@link Tonne}.
|
|
324
|
+
*/
|
|
325
|
+
function gramsToTonnes(mass) {
|
|
326
|
+
return functions.div(mass, 1_000_000);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Convert {@link Tonne} to {@link Gram}.
|
|
330
|
+
*/
|
|
331
|
+
function tonnesToGrams(mass) {
|
|
332
|
+
return functions.mul(mass, 1_000_000);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @file Autogenerated File - Don't manually edit.
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* Convert `X` to `dekaX`.
|
|
340
|
+
*/
|
|
341
|
+
function toDeka(value) {
|
|
342
|
+
return functions.mul(value, 10);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Convert `dekaX` to `X`.
|
|
346
|
+
*/
|
|
347
|
+
const fromDeka = toDeci;
|
|
348
|
+
/**
|
|
349
|
+
* Convert `X` to `deciX`.
|
|
350
|
+
*/
|
|
351
|
+
function toDeci(value) {
|
|
352
|
+
return functions.div(value, 10);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Convert `deciX` to `X`.
|
|
356
|
+
*/
|
|
357
|
+
const fromDeci = toDeka;
|
|
358
|
+
/**
|
|
359
|
+
* Convert `X` to `hectoX`.
|
|
360
|
+
*/
|
|
361
|
+
function toHecto(value) {
|
|
362
|
+
return functions.mul(value, 100);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Convert `hectoX` to `X`.
|
|
366
|
+
*/
|
|
367
|
+
const fromHecto = toCenti;
|
|
368
|
+
/**
|
|
369
|
+
* Convert `X` to `centiX`.
|
|
370
|
+
*/
|
|
371
|
+
function toCenti(value) {
|
|
372
|
+
return functions.div(value, 100);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Convert `centiX` to `X`.
|
|
376
|
+
*/
|
|
377
|
+
const fromCenti = toHecto;
|
|
378
|
+
/**
|
|
379
|
+
* Convert `X` to `kiloX`.
|
|
380
|
+
*/
|
|
381
|
+
function toKilo(value) {
|
|
382
|
+
return functions.mul(value, 1000);
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Convert `kiloX` to `X`.
|
|
386
|
+
*/
|
|
387
|
+
const fromKilo = toMilli;
|
|
388
|
+
/**
|
|
389
|
+
* Convert `X` to `milliX`.
|
|
390
|
+
*/
|
|
391
|
+
function toMilli(value) {
|
|
392
|
+
return functions.div(value, 1000);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Convert `milliX` to `X`.
|
|
396
|
+
*/
|
|
397
|
+
const fromMilli = toKilo;
|
|
398
|
+
/**
|
|
399
|
+
* Convert `X` to `megaX`.
|
|
400
|
+
*/
|
|
401
|
+
function toMega(value) {
|
|
402
|
+
return functions.mul(value, 1000000);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Convert `megaX` to `X`.
|
|
406
|
+
*/
|
|
407
|
+
const fromMega = toMicro;
|
|
408
|
+
/**
|
|
409
|
+
* Convert `X` to `microX`.
|
|
410
|
+
*/
|
|
411
|
+
function toMicro(value) {
|
|
412
|
+
return functions.div(value, 1000000);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Convert `microX` to `X`.
|
|
416
|
+
*/
|
|
417
|
+
const fromMicro = toMega;
|
|
418
|
+
/**
|
|
419
|
+
* Convert `X` to `gigaX`.
|
|
420
|
+
*/
|
|
421
|
+
function toGiga(value) {
|
|
422
|
+
return functions.mul(value, 1000000000);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Convert `gigaX` to `X`.
|
|
426
|
+
*/
|
|
427
|
+
const fromGiga = toNano;
|
|
428
|
+
/**
|
|
429
|
+
* Convert `X` to `nanoX`.
|
|
430
|
+
*/
|
|
431
|
+
function toNano(value) {
|
|
432
|
+
return functions.div(value, 1000000000);
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Convert `nanoX` to `X`.
|
|
436
|
+
*/
|
|
437
|
+
const fromNano = toGiga;
|
|
438
|
+
/**
|
|
439
|
+
* Convert `X` to `teraX`.
|
|
440
|
+
*/
|
|
441
|
+
function toTera(value) {
|
|
442
|
+
return functions.mul(value, 1000000000000);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Convert `teraX` to `X`.
|
|
446
|
+
*/
|
|
447
|
+
const fromTera = toPico;
|
|
448
|
+
/**
|
|
449
|
+
* Convert `X` to `picoX`.
|
|
450
|
+
*/
|
|
451
|
+
function toPico(value) {
|
|
452
|
+
return functions.div(value, 1000000000000);
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Convert `picoX` to `X`.
|
|
456
|
+
*/
|
|
457
|
+
const fromPico = toTera;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Convert {@link Celsius} to {@link Kelvin}.
|
|
461
|
+
*/
|
|
462
|
+
function celsiusToKelvin(temperature) {
|
|
463
|
+
return (temperature - 273.15);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Convert {@link Kelvin} to {@link Celsius}.
|
|
467
|
+
*/
|
|
468
|
+
function kelvinToCelsius(temperature) {
|
|
469
|
+
return (temperature + 273.15);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Convert {@link Cubic}<{@link Metre}> to {@link Litre}.
|
|
474
|
+
*/
|
|
475
|
+
function cubicMetresToLitres(volume) {
|
|
476
|
+
return functions.mul(volume, 1000);
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Convert {@link Litre} to {@link Cubic}<{@link Metre}>.
|
|
480
|
+
*/
|
|
481
|
+
function litresToCubicMetres(volume) {
|
|
482
|
+
return functions.div(volume, 1000);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
exports.aresToHectares = aresToHectares;
|
|
486
|
+
exports.aresToSquareMetres = aresToSquareMetres;
|
|
487
|
+
exports.celsiusToKelvin = celsiusToKelvin;
|
|
488
|
+
exports.cubicMetresToLitres = cubicMetresToLitres;
|
|
489
|
+
exports.daysToHours = daysToHours;
|
|
490
|
+
exports.daysToWeeks = daysToWeeks;
|
|
491
|
+
exports.daysToYears = daysToYears;
|
|
492
|
+
exports.degreesToGradians = degreesToGradians;
|
|
493
|
+
exports.degreesToRadians = degreesToRadians;
|
|
494
|
+
exports.degreesToTurns = degreesToTurns;
|
|
495
|
+
exports.fromCenti = fromCenti;
|
|
496
|
+
exports.fromDeci = fromDeci;
|
|
497
|
+
exports.fromDeka = fromDeka;
|
|
498
|
+
exports.fromGiga = fromGiga;
|
|
499
|
+
exports.fromHecto = fromHecto;
|
|
500
|
+
exports.fromKilo = fromKilo;
|
|
501
|
+
exports.fromMega = fromMega;
|
|
502
|
+
exports.fromMicro = fromMicro;
|
|
503
|
+
exports.fromMilli = fromMilli;
|
|
504
|
+
exports.fromNano = fromNano;
|
|
505
|
+
exports.fromPico = fromPico;
|
|
506
|
+
exports.fromTera = fromTera;
|
|
507
|
+
exports.gradiansToDegrees = gradiansToDegrees;
|
|
508
|
+
exports.gradiansToRadians = gradiansToRadians;
|
|
509
|
+
exports.gradiansToTurns = gradiansToTurns;
|
|
510
|
+
exports.gramsToTonnes = gramsToTonnes;
|
|
511
|
+
exports.hectaresToAres = hectaresToAres;
|
|
512
|
+
exports.hectaresToSquareMetres = hectaresToSquareMetres;
|
|
513
|
+
exports.hertzToPerHour = hertzToPerHour;
|
|
514
|
+
exports.hertzToPerMinute = hertzToPerMinute;
|
|
515
|
+
exports.hoursToDays = hoursToDays;
|
|
516
|
+
exports.hoursToMinutes = hoursToMinutes;
|
|
517
|
+
exports.hoursToSeconds = hoursToSeconds;
|
|
518
|
+
exports.joulesToWattHours = joulesToWattHours;
|
|
519
|
+
exports.joulesToWattMinutes = joulesToWattMinutes;
|
|
520
|
+
exports.kelvinToCelsius = kelvinToCelsius;
|
|
521
|
+
exports.litresToCubicMetres = litresToCubicMetres;
|
|
522
|
+
exports.minutesToHours = minutesToHours;
|
|
523
|
+
exports.minutesToSeconds = minutesToSeconds;
|
|
524
|
+
exports.perDayToPerHour = perDayToPerHour;
|
|
525
|
+
exports.perDayToPerWeek = perDayToPerWeek;
|
|
526
|
+
exports.perDayToPerYear = perDayToPerYear;
|
|
527
|
+
exports.perHourToHertz = perHourToHertz;
|
|
528
|
+
exports.perHourToPerDay = perHourToPerDay;
|
|
529
|
+
exports.perHourToPerMinute = perHourToPerMinute;
|
|
530
|
+
exports.perMinuteToHertz = perMinuteToHertz;
|
|
531
|
+
exports.perMinuteToPerHour = perMinuteToPerHour;
|
|
532
|
+
exports.perWeekToPerDay = perWeekToPerDay;
|
|
533
|
+
exports.perWeekToPerYear = perWeekToPerYear;
|
|
534
|
+
exports.perYearToPerDay = perYearToPerDay;
|
|
535
|
+
exports.perYearToPerWeek = perYearToPerWeek;
|
|
536
|
+
exports.radiansToDegrees = radiansToDegrees;
|
|
537
|
+
exports.radiansToGradians = radiansToGradians;
|
|
538
|
+
exports.radiansToTurns = radiansToTurns;
|
|
539
|
+
exports.secondsToHours = secondsToHours;
|
|
540
|
+
exports.secondsToMinutes = secondsToMinutes;
|
|
541
|
+
exports.squareMetresToAres = squareMetresToAres;
|
|
542
|
+
exports.squareMetresToHectares = squareMetresToHectares;
|
|
543
|
+
exports.toCenti = toCenti;
|
|
544
|
+
exports.toDeci = toDeci;
|
|
545
|
+
exports.toDeka = toDeka;
|
|
546
|
+
exports.toGiga = toGiga;
|
|
547
|
+
exports.toHecto = toHecto;
|
|
548
|
+
exports.toKilo = toKilo;
|
|
549
|
+
exports.toMega = toMega;
|
|
550
|
+
exports.toMicro = toMicro;
|
|
551
|
+
exports.toMilli = toMilli;
|
|
552
|
+
exports.toNano = toNano;
|
|
553
|
+
exports.toPico = toPico;
|
|
554
|
+
exports.toTera = toTera;
|
|
555
|
+
exports.tonnesToGrams = tonnesToGrams;
|
|
556
|
+
exports.turnsToDegrees = turnsToDegrees;
|
|
557
|
+
exports.turnsToGradians = turnsToGradians;
|
|
558
|
+
exports.turnsToRadians = turnsToRadians;
|
|
559
|
+
exports.wattHoursToJoules = wattHoursToJoules;
|
|
560
|
+
exports.wattMinutesToJoules = wattMinutesToJoules;
|
|
561
|
+
exports.weeksToDays = weeksToDays;
|
|
562
|
+
exports.weeksToYears = weeksToYears;
|
|
563
|
+
exports.yearsToDays = yearsToDays;
|
|
564
|
+
exports.yearsToWeeks = yearsToWeeks;
|