Skip to content

Commit

Permalink
docs: positive/negative float/int are gte/lte to 0 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
joh-klein authored Feb 28, 2020
1 parent 3674f4a commit b5e6adc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,22 @@ an exception will be raised rather than rounding up/down.

#### asIntPositive()
Performs the same task as _asInt()_, but also verifies that the number is
positive (greater than zero).
positive (greater than or equal to zero).

#### asIntNegative()
Performs the same task as _asInt()_, but also verifies that the number is
negative (less than zero).
negative (less than or equal to zero).

#### asFloat()
Attempt to parse the variable to a float. Throws an exception if parsing fails.

#### asFloatPositive()
Performs the same task as _asFloat()_, but also verifies that the number is
positive (greater than zero).
positive (greater than or equal to zero).

#### asFloatNegative()
Performs the same task as _asFloat()_, but also verifies that the number is
negative (less than zero).
negative (less than or equal to zero).

#### asString()
Return the variable value as a String. Throws an exception if value is not a
Expand Down

0 comments on commit b5e6adc

Please sign in to comment.