Announcement

Collapse
No announcement yet.

Changing decimal points to match chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing decimal points to match chart

    Hi
    I would like to be able to change precision of the decimal points on the numbers I use to be the same as that for the chart.
    ie 5020 116.34 17.234 etc
    Is their an easy way to achieve this.

    Sam
    sam

  • #2
    sam
    If you are referring to efs then you can do that using the formatPriceNumber() function
    Alex


    Originally posted by sam.burn
    Hi
    I would like to be able to change precision of the decimal points on the numbers I use to be the same as that for the chart.
    ie 5020 116.34 17.234 etc
    Is their an easy way to achieve this.

    Sam

    Comment


    • #3
      Thanks Alex
      This function returns a string.
      If a number is required.
      What is the solution.
      Sam
      sam

      Comment


      • #4
        sam
        Multiply (or divide) the string by 1
        Alex


        Originally posted by sam.burn
        Thanks Alex
        This function returns a string.
        If a number is required.
        What is the solution.
        Sam

        Comment


        • #5
          Thanks again Alex
          sam

          Comment


          • #6
            sam
            My pleasure
            Alex


            Originally posted by sam.burn
            Thanks again Alex

            Comment

            Working...
            X