fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Need help with constants

    Questions & Answers
    2
    2
    539
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      Xander last edited by

      Below is a formula block where I am trying to use the constant. The result of the EA differs when i use the constant (example 1) and when I manually type the value (example 2) not sure what I am doing wrong, sorry first time using constants:

      0_1555168526031_fc761fbf-79cc-4e88-a7af-1e277f335949-image.png

      0_1555168547866_3aaebf7f-e44e-41ac-9175-6238630a8d28-image.png

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        int -> integers like 0, 1, 2, 3, ...
        double -> floating-point numbers like 0.01, 0.02, 0.03

        Change "Constant Type" to double and check it out.

        0_1555169879022_2226a5be-3b56-45a4-b66c-6df09c4b1c9b-image.png

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        R
        S
        R
        E
        M
        P
        C
        J
        V

        21
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors