engineer_calculator 2.0.0 → 2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32fe357799ad660cc4cfef2fad926400e8287afc853339b4e9d839f96562a811
4
- data.tar.gz: 6e8289301ce855f7e754ac47312eb1d7e03b3cfe41883080a4b525a62847cb26
3
+ metadata.gz: 89eb7e5143f351c33f06395bf5750dc6cfd3e31977a39f5850d392c5e28974b3
4
+ data.tar.gz: c404924ca5aad4eafdb3b037330d7cb06716d34bb2628ce485be4ff7e6998b4a
5
5
  SHA512:
6
- metadata.gz: 26f9e977b09525668782a2e2479b90fccfc45b0e9e797220b7a445449a143c02e07db4ae2747980008fffe8e3f7de132ea4aee732ff57847e60deca666ff15d2
7
- data.tar.gz: 6edaa70e71bb99122290b43c189857a2e92adcce8dea3f19298a79a31df94048cf266acdcced0e29df2ed7aa40de4f4d8ca01c766ead32c19a1b20ad0902f5c2
6
+ metadata.gz: 9415d88cd2b720adb1d6bce2e28c81341233e31b87fbeca770fc997e556f8ecc6f94593f4410ebbbe610979faa73738c777deae1d10eb3513fcd9b17e99fd562
7
+ data.tar.gz: df2bfad26a1c0f4bb66220ab05948b92aff9b77d4dd3405f912dec6902fc6208999b0218babae82b2045c266882b72a3fdb5baad2f81713549dcd8523dccf4da
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- engineer_calculator (2.0.0)
4
+ engineer_calculator (2.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Add this line to your application's Gemfile:
6
6
 
7
7
  ```ruby
8
- gem 'engineering_calculator'
8
+ gem 'eng_calc'
9
9
  ```
10
10
 
11
11
  And then execute:
@@ -26,13 +26,13 @@ please run "Rackup". Then access to http://localhost:9292/ , you can find web pa
26
26
 
27
27
  Add following into your code.
28
28
  ```ruby
29
- require 'engineer_calculator'
29
+ require 'eng_calc'
30
30
  ```
31
31
 
32
32
  Then make instance.
33
33
 
34
34
  ```ruby
35
- eng_calc = Engineer::Calculator.new
35
+ eng_calc = Eng::Calc.new
36
36
  ```
37
37
 
38
38
  After make instance you can get calculation reulst by "calc" method.
data/lib/eng_calc.rb CHANGED
@@ -19,7 +19,7 @@ module Eng
19
19
  begin
20
20
  c = { value: "", unit: [], si_formula: "", error: [] }
21
21
 
22
- split_value_unit(formula.gsub("⋅","*")).map do |e_formula|
22
+ split_value_unit(formula.gsub("⋅","*").gsub("÷","/")).map do |e_formula|
23
23
  if e_formula[:unit].nil?
24
24
  c[:value] << e_formula[:value].to_f.to_s + "r"
25
25
  c[:si_formula] << e_formula[:value]
@@ -43,19 +43,26 @@ module Eng
43
43
  si_formula: c[:si_formula] }
44
44
 
45
45
  rescue StandardError, SyntaxError
46
- { value: "error", unit: "", error: "undifined formula", si_formula: formula}
46
+ { value: "error", unit: "", error: [{ undifined: "undifined formula" }], si_formula: formula}
47
47
  end
48
48
  end
49
49
 
50
50
  def each_value(value: , si_unit: nil, kind: nil)
51
51
  value = value.to_f.rationalize
52
52
  kind = Unit.kind_by_si(si_unit) if si_unit
53
- return false unless kind || Unit.variable[kind]
54
- results = Unit.variable[kind].map do |unit|
55
- { unit: unit[0],
56
- value: eval(liner_function(unit[1])).to_f }
53
+ return [{kind: false, result: false}] unless kind
54
+
55
+ kind.inject([]) do |a,k|
56
+ if Unit.variable[k]
57
+ results = Unit.variable[k].map do |unit|
58
+ { unit: unit[0],
59
+ value: eval(liner_function(unit[1])).to_f }
60
+ end
61
+ else
62
+ results = nil
63
+ end
64
+ a << { kind: k, result: results }
57
65
  end
58
- { kind: kind, result: results }
59
66
  end
60
67
  end
61
68
  end
data/lib/eng_formula.rb CHANGED
@@ -4,13 +4,14 @@ module Eng
4
4
  unit_array = []
5
5
  formula_pre = formula.to_s.delete(" ")
6
6
  formula_pre.scan(/(#{operator_reg(:tri)})|
7
+ (?:(#{operator_reg(:num)}(?:#{operator_reg(:double)})*)([^#{operator_reg(:num)}#{operator_reg(:double)}#{operator_reg(:ari)}]+))|
7
8
  (?:(#{operator_reg(:num)}(?:#{operator_reg(:double)})*)((?:\/?\(?\/?[a-z]+\d*(?:\*[a-z])*(?:\W*[a-z]\d*\)*)*)(?:\d[^[a-z]])*\)?))|
8
9
  (#{operator_reg(:ari)})|
9
10
  ((?:#{operator_reg(:num)})*(?:#{operator_reg(:double)})?)/ix)
10
11
  .each do |data|
11
12
  unit_array << {
12
- value: (data[0] || data[1] || data[3] || data[4]),
13
- unit: (data[2] || data[3]) }
13
+ value: (data[0] || data[3] || data[5] || data[6] || data[1]),
14
+ unit: (data[4] || data[5]) || data[2] }
14
15
  end
15
16
 
16
17
  unit_array.each_with_index do |data, index|
@@ -36,7 +37,7 @@ module Eng
36
37
  end
37
38
 
38
39
  def split_by_ari(formula)
39
- formula.split((/(#{operator_reg(:ari)})/))
40
+ formula.split((/(#{operator_reg(:ari)})/)).reject(&:empty?)
40
41
  end
41
42
 
42
43
  def liner_function(formula)
data/lib/eng_unit.rb CHANGED
@@ -59,9 +59,9 @@ module Eng
59
59
  def convert(value: , unit: )
60
60
  values = nil
61
61
  first_unit = false
62
- convert_unit = split_by_ari(unit).map do |e_unit|
62
+ convert_unit = unit.split(/(\*|\/)/).map do |e_unit|
63
63
  if e_unit.empty?
64
- elsif e_unit =~ /(#{operator_reg(:ari)})/
64
+ elsif e_unit =~ /(\*|\/)/
65
65
  values = e_unit
66
66
  if e_unit == "/" && !first_unit
67
67
  values = value.to_s + "/"
@@ -141,7 +141,6 @@ module Eng
141
141
  num = si_unit[:num] || 1
142
142
  end
143
143
  end
144
-
145
144
  result = find_all(unit)
146
145
 
147
146
  if !result && !opt
@@ -166,11 +165,12 @@ module Eng
166
165
  end
167
166
 
168
167
  def kind_by_si(unit)
169
- s_unit = unit_arrange(split_by_ari(unit))
168
+ s_unit = unit_arrange(multi_div_unit(split_by_ari(unit)))
169
+ a = []
170
170
  si_base.merge(si_derived).each do |e_unit|
171
- return e_unit[0] if s_unit == unit_arrange(split_by_ari(e_unit[1]))
171
+ a << e_unit[0] if s_unit == unit_arrange(multi_div_unit(split_by_ari(e_unit[1])))
172
172
  end
173
- false
173
+ a || false
174
174
  end
175
175
 
176
176
  def to_si(kind_unit)
data/lib/eng_unit_calc.rb CHANGED
@@ -6,6 +6,7 @@ module Eng
6
6
  def calc_unit(units)
7
7
  @error = {}
8
8
  units = split_by_ari(units) unless units.class == Array
9
+ units.push(")").unshift("(")
9
10
  par = parenthesis_unit(units)
10
11
  par.reverse_each do |index|
11
12
  by_value = units[index[0]..index[1]]
@@ -1,3 +1,3 @@
1
1
  module Engineer
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
File without changes
@@ -45,6 +45,7 @@ Force, Weight: kg*m/s2
45
45
  Pressure, Stress: kg/(m*s2)
46
46
  Energy, Work, Heat: kg*m2/s2
47
47
  Power, Radiant Flux: kg*m2/s3
48
+ Power: kg*m/s2
48
49
  Electric Charge Or Quantity Of Electricity: s*A
49
50
  Voltage, Electrical Potential Difference, Electromotive Force: kg*m2/(s3*A)
50
51
  Electrical Capacitance: s4A2/(kg*m2)
@@ -18,19 +18,19 @@ Length:
18
18
  海里, nautical-mile: value*1852r
19
19
 
20
20
  Weight:
21
- g, gram: value*1000r
22
- ton: value*0.001r
23
- grain, gr: value/15432.358352941r
24
- dram, dr: value/564.38339119329r
25
- ounce, oz: value/35.27396194958r
26
- pound, lb: value/2.2046226218488r
27
- stone, st: value*6.35029318r
28
- quarter: value*12.70058636r
29
- short-ton, sh-tn, s.t.: value*907.18474r
30
- 分: value/2666.6666666667r
31
- 匁: value/266.66666666667r
32
- 百目: value/2.6666666666667r
33
- 斤: value/1.6666666666667r
21
+ g, gram: value/1000r
22
+ ton: value/0.001r
23
+ grain, gr: value*15432.358352941r
24
+ dram, dr: value*564.38339119329r
25
+ ounce, oz: value*35.27396194958r
26
+ pound, lb: value*2.2046226218488r
27
+ stone, st: value/6.35029318r
28
+ quarter: value/12.70058636r
29
+ short-ton, sh-tn, s.t.: value/907.18474r
30
+ 分: value*2666.6666666667r
31
+ 匁: value*266.66666666667r
32
+ 百目: value*2.6666666666667r
33
+ 斤: value*1.6666666666667r
34
34
 
35
35
  Time:
36
36
  Planck time, tp: value*5.39121E-44.rationalize
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineer_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Azeroyear
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-04 00:00:00.000000000 Z
11
+ date: 2019-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,20 +72,13 @@ files:
72
72
  - bin/setup
73
73
  - config.ru
74
74
  - engineering_calculator.gemspec
75
- - favicon.ico
76
75
  - lib/eng_calc.rb
77
76
  - lib/eng_formula.rb
78
77
  - lib/eng_unit.rb
79
78
  - lib/eng_unit_calc.rb
80
79
  - lib/engineer_calculator.rb
81
80
  - lib/engineer_calculator/version.rb
82
- - lib/unit/convert_to_japanese.yml
83
- - lib/unit/metric_prefix.yml
84
- - lib/unit/si_alter_unit.yml
85
- - lib/unit/si_base_unit.yml
86
- - lib/unit/si_derived_unit.yml
87
- - lib/unit/test_unit.yml
88
- - lib/unit/variable_unit.yml
81
+ - lib/unit_calc/convert_to_japanese.yml
89
82
  - lib/unit_calc/metric_prefix.yml
90
83
  - lib/unit_calc/si_alter_unit.yml
91
84
  - lib/unit_calc/si_base_unit.yml
data/favicon.ico DELETED
Binary file
@@ -1,20 +0,0 @@
1
- Y: 10e23
2
- Z: 10e20
3
- E: 10e17
4
- P: 10e14
5
- T: 10e11
6
- G: 10e8
7
- M: 10e5
8
- k: 10e2
9
- h: 10e1
10
- da: 1
11
- d: 10e-2
12
- c: 10e-3
13
- m: 10e-4
14
- μ: 10e-7
15
- n: 10e-10
16
- p: 10e-13
17
- f: 10e-16
18
- a: 10e-19
19
- z: 10e-22
20
- y: 10e-25
@@ -1,196 +0,0 @@
1
- Area:
2
- - square metre
3
- Volume:
4
- - cubic metre
5
- Momentum, Impulse:
6
- - N*s
7
- - Ns
8
- - newton second
9
- Angular Momentum:
10
- - newton metre second
11
- - N*m*s
12
- - Nms
13
- Torque, moment of force:
14
- - newton metre
15
- - N*m
16
- - J/rad
17
- Yank:
18
- - newton per second
19
- - N/s
20
- Wavenumber, Optical Power, Curvature, Spatial Frequency:
21
- - reciprocal metre
22
- Area Density:
23
- - kilogram per square metre
24
- Density, Mass density:
25
- - kilogram per cubic metre
26
- Specific Volume:
27
- - cubic metre per kilogram
28
- Action:
29
- - J*s
30
- - joule second
31
- Specific Energy:
32
- - J/kg
33
- - joule per kilogram
34
- Energy Density:
35
- - J/m3
36
- - joule per cubic metre
37
- Surface Tension, Stiffness:
38
- - N/m
39
- - J/m2
40
- - newton per metre
41
- Heat Flux Density, Irradiance:
42
- - W/m2
43
- - watt per square metre
44
- Kinematic Viscosity, Thermal Diffusivity, Diffusion Coefficient:
45
- - square metre per second
46
- Dynamic Viscosity:
47
- - Pa*s
48
- - N*s/m2
49
- - pascal second
50
- linear Mass Density:
51
- - kilogram per metre
52
- Mass Flow Rate:
53
- - kilogram per second
54
- Radiance:
55
- - W/(sr*m2)
56
- - watt per steradian square metre
57
- Spectral Radiance:
58
- - W/(sr*m3)
59
- - watt per steradian cubic metre
60
- Spectral Power:
61
- - W/m
62
- - watt per metre
63
- Absorbed Dose Rate:
64
- - Gy/s
65
- - gray per second
66
- Fuel Efficiency:
67
- - m/m3
68
- - metre per cubic metre
69
- Spectral Irradiance, Power Density:
70
- - W/m3
71
- - watt per cubic metre
72
- Energy Flux Density:
73
- - J/(m2⋅s)
74
- - joule per square metre second
75
- Compressibility:
76
- - /Pa
77
- - reciprocal pascal
78
- Radiant Exposure:
79
- - J/m2
80
- - joule per square metre
81
- Moment of Inertia:
82
- - kilogram square metre
83
- Specific Angular Momentum:
84
- - N*m*s/kg
85
- - newton metre second per kilogram
86
- Radiant Intensity:
87
- - W/sr
88
- - watt per steradian
89
- Spectral Intensity:
90
- - W/(sr*m)
91
- - watt per steradian metre
92
- Angular Velocity:
93
- - rad/s
94
- Angular Acceleration:
95
- - rad/s2
96
- Frequency:
97
- - Hz
98
- - hertz
99
- Angle:
100
- - rad
101
- - radian
102
- Solid Angle:
103
- - sr
104
- - steradian
105
- Force, Weight:
106
- - N
107
- - newton
108
- Pressure, Stress:
109
- - Pa
110
- - pascal
111
- Energy, Work, Heat:
112
- - J
113
- - joule
114
- - N*m
115
- - Nm
116
- - C*V
117
- - CV
118
- - W*s
119
- - Ws
120
- Power, Radiant Flux:
121
- - W
122
- - watt
123
- - J/s
124
- - V*A
125
- - VA
126
- Electric Charge Or Quantity Of Electricity:
127
- - C
128
- - coulomb
129
- - s*A
130
- - sA
131
- - V*A
132
- - VA
133
- Voltage, Electrical Potential Difference, Electromotive Force:
134
- - V
135
- - volt
136
- - W/A
137
- - J/C
138
- Electrical Capacitance:
139
- - F
140
- - farad
141
- - C/V
142
- - s/Ω
143
- Electrical Resistance, Impedance, Reactance:
144
- - Ω
145
- - ohm
146
- - V/A
147
- Electrical Conductance:
148
- - S
149
- - siemens
150
- - /Ω
151
- - A/V
152
- Magnetic Flux:
153
- - Wb
154
- - weber
155
- - J/A
156
- - T*m2
157
- - Tm2
158
- Magnetic Field Strength, Magnetic Flux Density:
159
- - T
160
- - tesla
161
- - V*s/m2
162
- - Vs/m2
163
- - Wb/m2
164
- - N/(A*m)
165
- - N/(Am)
166
- Electrical Inductance:
167
- - H
168
- - henry
169
- - V*s/A
170
- - Vs/A
171
- - Ω*s
172
- - Ωs
173
- - Wb/A
174
- Luminous Flux:
175
- - lm
176
- - lumen
177
- - cd*sr
178
- - cdsr
179
- Illuminance:
180
- - lx
181
- - lux
182
- - lm/m2
183
- Radioactivity (Decays Per Unit Time):
184
- - Bq
185
- - becquerel
186
- Absorbed Dose (Of Ionizing Radiation):
187
- - Gy
188
- - gray
189
- - J/kg
190
- Equivalent Dose (Of Ionizing Radiation):
191
- - Sv
192
- - sievert
193
- - J/kg
194
- Catalytic Activity:
195
- - kat
196
- - katal
@@ -1,7 +0,0 @@
1
- Length: m
2
- Weight: kg
3
- Time: s
4
- Current: A
5
- Tempreture: K
6
- Amaount of Substance: mol
7
- Luminous intensity: cd
@@ -1,62 +0,0 @@
1
- Area: m2
2
- Volume: m3
3
- Momentum, Impulse: m*kg/s
4
- Angular Momentum: m2*kg/s
5
- Torque, moment of force: m2*kg/s2
6
- Yank: m*kg/s3
7
- Wavenumber, Optical Power, Curvature, Spatial Frequency: /m
8
- Area Density: kg/m2
9
- Density, Mass density: kg/m3
10
- Specific Volume: m3/kg
11
- Action: m2*kg/s
12
- Specific Energy: m2/s2
13
- Energy Density: kg/(m*s2)
14
- Surface Tension, Stiffness: kg/s2
15
- Heat Flux Density, Irradiance: kg/s3
16
- Kinematic Viscosity, Thermal Diffusivity, Diffusion Coefficient: m2/s
17
- Dynamic Viscosity: kg/(m*s)
18
- linear Mass Density: kg/m
19
- Mass Flow Rate: kg/s
20
- Radiance: kg/s3
21
- Spectral Radiance: kg/(m*s3)
22
- Spectral Power: m*kg/s3
23
- Absorbed Dose Rate: m/s3
24
- Fuel Efficiency: /m2
25
- Spectral Irradiance, Power Density: kg/(m*s3)
26
- Energy Flux Density: kg/s3
27
- Compressibility: m*s2/kg
28
- Radiant Exposure: kg/s2
29
- Moment of Inertia: kg*m2
30
- Specific Angular Momentum: m2/s
31
- Radiant Intensity: m2*kg/s3
32
- Spectral Intensity: m*kg/s3
33
- Speed, Velocity: m/s
34
- Acceleration: m/s2
35
- Jerk, Jolt: m/s3
36
- Snap, Jounce: m/s4
37
- Angular Velocity: /s
38
- Angular Acceleration: /s2
39
- Frequency Drift: /s2
40
- Volumetric Flow: m3/s
41
- Frequency: /s
42
- Angle: m/m
43
- Solid Angle: m2/m2
44
- Force, Weight: kg*m/s2
45
- Pressure, Stress: kg/(m*s2)
46
- Energy, Work, Heat: kg*m2/s2
47
- Power, Radiant Flux: kg*m2/s3
48
- Electric Charge Or Quantity Of Electricity: s*A
49
- Voltage, Electrical Potential Difference, Electromotive Force: kg*m2/(s3*A)
50
- Electrical Capacitance: s4A2/(kg*m2)
51
- Electrical Resistance, Impedance, Reactance: kg*m2/(s3*A2)
52
- Electrical Conductance: s3*A2/(kg*m2)
53
- Magnetic Flux: kg*m2/(s2*A)
54
- Magnetic Field Strength, Magnetic Flux Density: kg/(s2*A)
55
- Electrical Inductance: kg*m2/(s2*A2)
56
- Temperature: K
57
- Luminous Flux: cd
58
- Illuminance: cd/m2
59
- Radioactivity (Decays Per Unit Time): /s
60
- Absorbed Dose (Of Ionizing Radiation): m2/s2
61
- Equivalent Dose (Of Ionizing Radiation): m2/s2
62
- Catalytic Activity: mol/s
@@ -1,10 +0,0 @@
1
- Tempreture:
2
- K: input
3
- °C, degree, Celsius: input-273.15r
4
- °F, Fahrenheit: input*1.8r-459.67r
5
- °R, Rankine scale: input*1.8r
6
-
7
- Length:
8
- m: input
9
- inch, in, ": input*39.370078740158
10
- feet, ft, ': input*3.2808398950131
@@ -1,183 +0,0 @@
1
- Length:
2
- Å: 10000000000
3
- mil: 39370.078740158
4
- in: 39.370078740158
5
- ft: 3.2808398950131
6
- yd: 1.0936132983377
7
- mi: 6.2137119223733E-4
8
- 寸: 33
9
- 尺: 3.3
10
- 鯨尺: 2.64
11
- 丈: 0.33
12
- 間: 0.55
13
- 町: 0.0091666666666667
14
- 里: 2.5462962962963E-4
15
- AU: 6.6845871222685E-12
16
- 光年: 1.0570008340246E-16
17
- pc: 3.2407790389471E-17
18
- 海里: 5.3995680345572E-4
19
- fath: 0.54680664916885
20
-
21
- Weight:
22
- g: 1000
23
- t: 0.001
24
- gr: 15432.358352941
25
- dr: 564.38339119329
26
- oz: 35.27396194958
27
- lb: 2.2046226218488
28
- stone: 0.15747304441777
29
- ton: 9.8420652761106E-4
30
- sh tn: 0.0011023113109244
31
- 分: 2666.6666666667
32
- 匁: 266.66666666667
33
- 百目: 2.6666666666667
34
- 斤: 1.6666666666667
35
-
36
- Time:
37
- tp: 1.8548608483392E+43
38
- au: 4.1341373345192E+16
39
- min: 0.016666666666667
40
- hour: 2.7777777777778E-04
41
- day: 1.1574074074074E-05
42
- week: 1.6534391534392E-06
43
- month: 3.858024691358E-07
44
- y (Calendar): 3.1709791983765E-08
45
- y (Gregorian): 3.1688738506811E-08
46
- y (Julian): 3.1688087814029E-08
47
- y (sidereal): 3.1687535787225E-08
48
- C: 3.1688087814029E-10
49
-
50
- Tempreture:
51
- °C: -272.15
52
- degree: -272.15
53
- °F: -457.87
54
- Fahrenheit: -457.87
55
- °R: 1.8
56
- Rankine scale: 1.8
57
-
58
- Area:
59
- a: 0.01
60
- ha: 1.E-4
61
- sq in: 1550.0031000062000124000248000496000992001984003968
62
- sq ft: 10.763910416709722308333505555900000688890266669422
63
- sq yd: 1.1959900463010802564815006173222222987655851854914
64
- ro: 9.8842152586866136899297571679522504030213651693501E-4
65
- ac: 2.4710538146716534224824392919880626007553412923375E-4
66
- sq mi: 3.8610215854244584726288113937313478136802207692774E-7
67
- 坪: 0.3025
68
- 畝: 0.010083333333333333333333333333333333333333333333333
69
- 反: 0.0010083333333333333333333333333333333333333333333333
70
- 町: 1.0083333333333333333333333333333333333333333333333E-4
71
-
72
- Volume:
73
- ml: 1000000
74
- cl: 100000
75
- dl: 10000
76
- l: 1000
77
- cc: 1000000
78
- cu in: 61023.744094732
79
- cu ft: 35.314666721489
80
- ac ft: 8.1071319378991E-4
81
- fl oz: 35195.079727854
82
- gi: 7039.0159455708
83
- pt: 1759.7539863927
84
- qt: 879.87699319635
85
- gal: 219.96924829909
86
- bl: 6.1102568971969
87
- fl oz: 33814.022701843
88
- gi: 8453.5056754608
89
- pt: 2113.3764188652
90
- qt: 1056.6882094326
91
- gal: 264.17205235815
92
- bl: 8.3864143605761
93
- pt: 1816.1659685377
94
- qt: 908.08298426886
95
- gal: 227.02074606721
96
- bl: 8.6484093739891
97
- bbl: 6.2898107704321
98
- 勺: 55435.235318617
99
- 合: 5543.5235318617
100
- 升: 554.35235318617
101
- 斗: 55.435235318617
102
- 石: 5.5435235318617
103
-
104
- Power:
105
- dyn: 100,000
106
- N: 1
107
- kgf: 0.10197162129779
108
- lbf: 0.22480894309971
109
- tnf: 1.1240447154986E-4
110
- pdl: 7.2330138512099
111
-
112
- Pressure, Stress:
113
- N/mm2: 1E-06
114
- bar: 1E-05
115
- atm: 9.8692326671601E-06
116
- at: 1.0197162129779E-05
117
- kgf/cm2: 1.0197162129779E-05
118
- mmH2O: 0.10197162129779
119
- cmH2O: 0.010197162129779
120
- mmH2O (3.98℃): 0.10197442889221
121
- cmH2O (3.98℃): 0.010197442889221
122
- mmHg: 0.0075006157584566
123
- inHg: 2.952998330101E-04
124
- torr: 0.0075006168270417
125
- psi: 1.4503773773021E-04
126
-
127
- Electric power:
128
- mW: 1000000
129
- W: 1000
130
- kW: 1
131
- dBm: 60
132
- kgfm/s: 101.97162129779
133
- PS: 1.3596216173039
134
- HP: 1.341022089595
135
- ft.lbf/s: 737.56214927727
136
- cal/s: 238.8458966275
137
- kcal/s: 0.2388458966275
138
- BTU/s: 0.94781712031332
139
-
140
- Energy, Work:
141
- erg: 10000000
142
- kWh: 2.7777777777778E-07
143
- calth: 0.23900573613767
144
- kcalth: 2.3900573613767E-04
145
- calIT: 0.2388458966275
146
- kcalIT: 2.388458966275E-04
147
- eV: 6.2415094796077E+18
148
- BTU: 9.4781712031332E-04
149
- ftlbf: 0.73756214945755
150
- ftpdl: 23.730360457056
151
- atm: 0.0098692326671601
152
-
153
- Speed, Velocity:
154
- fps: 3.2808398950131
155
- fpm: 196.85039370079
156
- fph: 11811.023622047
157
- mps: 0.00062137119223733
158
- mpm: 0.03728227153424
159
- mph: 2.2369362920544
160
- kn: 1.9438444924406
161
- Mach: 0.0029411764705882
162
-
163
- Acceleration:
164
- km/h/s: 3.6
165
- Gal: 100
166
- fps2: 3.2808398950131
167
- fpm/s: 196.85039370079
168
- fph/s: 11811.023622047
169
- mps2: 6.2137119223733E-04
170
- mpm/s: 0.03728227153424
171
- mph/s: 2.2369362920544
172
- kn/s: 1.9438444924406
173
- G: 0.10197162129779
174
-
175
- Angle:
176
- °: 1
177
- ′: 60
178
- ″: 3,600
179
- grad: 1.1111111111111
180
- rad: 0.017453292519943
181
- mil: 17.777777777778
182
- /%: 1.7455064928218
183
- ‰: 17.455064928218