IsGreaterThan

Checks if one number(float) as bigger than the other(float) Returns yes: if first > second Returns no: if first <= second Returns exception if one of the inputs is not a number

javascript · Common Scripts

Details

IDIsGreaterThan
Languagejavascript
From Version5.0.0
TagsUtility Condition

README

Checks if one number (float) is bigger than the other (float).
Returns yes: if the first > second.
Returns no: if first <= second.
Returns an exception if one of the inputs is not a number.

Script Data


Name Description
Script Type javascript
Tags Utility, Condition

Inputs


Argument Name Description
first The first argument to compare.
second The second argument to compare.

Outputs


Path Description Type
yes Returns yes if first > second. Unknown
no Returns no if first <= second. Unknown
commonfields:
  id: IsGreaterThan
  version: -1
name: IsGreaterThan
script: ''
type: javascript
tags:
- Utility
- Condition
comment: |-
  Checks if one number(float) as bigger than the other(float)
  Returns yes: if first > second
  Returns no: if first <= second
  Returns exception if one of the inputs is not a number
enabled: true
args:
- name: first
  description: First argument to compare.
  required: true
  default: true
- name: second
  description: Second argument to compare.
  required: true
outputs:
- contextPath: "yes"
  description: if first > second
- contextPath: "no"
  description: if first <= second
scripttarget: 0
fromversion: 5.0.0