LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  how to use isNumber()

    Employee
    Posted 05-19-2014 02:40

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: techm_aritra

    Hi Team,

    Please let me know how to use isNumber() function.


  • 2.  RE: how to use isNumber()

    Employee
    Posted 05-19-2014 03:51

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: dsc88dsc88

    The isNumber() function will allow you to determine whether a data value could be successfully converted to a number.

    If you copy the below example into your graph, this should help your understanding.

    - - - - - - - - copy all text below this line - - - - - - - -


    node:Static_Data
    bretype:core::Static Data
    editor:sortkey=5379dda66d967541
    output:@40fe6c55598828e5/=
    editor:XY=180,100
    end:Static_Data

    node:isNumber_Tests
    bretype:core::Filter
    editor:Label=isNumber Tests
    editor:sortkey=5379dfd875d67a5b
    input:@40fd2c74167f1ca2/=Static_Data.40fe6c55598828e5
    output:@40fd2c7420761db6/=
    prop:Script=<<EOX
    color_test = color.isNumber()
    id_test = id.isNumber()
    type_test = type.isNumber()
    rand_test = rand.isNumber()
    junk_test = junk.isNumber()

    emit *,color_test,id_test,type_test,rand_test,junk_test
    EOX
    editor:XY=290,100
    end:isNumber_Tests