Current filter:
                                You should refresh the page.
                                0
                                  • Hi,

                                    I need show in the DIGITAL GAUGE, for example:

                                    1,123.45

                                    (using decimal and point separations..)

                                    I try to use:

                                    digital.text = formatnumber(myvalue,2)

                                    but it show only point, not comma... (like attach..)

                                    How I can to do?

                                samepoint.png
                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hi,

                                This behavior is by design: DigitalGauge does not provide different symbols for comma and point separators when the FourteenSegment DisplayMode is used.

                                • aljr aljr 07.26.2012

                                  OK, but, about using how text?
                                  I don't can to use, but I see in the demo center, there work fine, how: 123,45 if I write 3.123,45 works too...
                                  But in the my code I not can ... how text, it should by acceppt anything, correct?
                                  I need to set another property? thanks!!

                                  I use this:
                                  Sub load_gaugev(ByVal nome As String, ByVal gauge As GaugeControl, ByVal tipo As String)

                                                   Dim digitalGauge As DigitalGauge = gauge.Gauges(0)
                                                  digitalGauge.Text = FormatNumber(valor, decimals)
                                  ...

                                  end sub

                                • Hi,

                                  Use a different DisplayMode to display comma symbols. For instance, try using the Matrix8x14 or Matrix5x8 mode.

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.