Skip to content

Commit 6cf2642

Browse files
authored
Update README.md
1 parent fe0e942 commit 6cf2642

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ let humidexText = WF.humidexText(humidex); //output humidex threshold and warnin
3939
```
4040

4141
**Advanced examples**
42+
4243
Use a provided valuation set
4344
```
4445
const valuationSet = temperature.DEW_POINT_VALUATIONS.DAVID_BOLTON;
45-
const actual = temperature.dewPointMagnusFormula(300, 40, valuationSet);
46+
const actual = temperature.dewPointMagnusFormula(TEMPERATURE, HUMIDITY, valuationSet);
4647
```
4748
Use a custom valuation set
4849
```
4950
const valuationSet = { a: 6, b: 17, c: 250, d: 234.5 }; //these values are made up for the sake of example
50-
const actual = temperature.dewPointMagnusFormula(300, valuationSet);
51+
const actual = temperature.dewPointArdenBuckEquation(TEMPERATURE, HUMIDITY, valuationSet);
5152
```
5253

5354
## Contribute

0 commit comments

Comments
 (0)