how to format properrty value in an annotation

I have a property containing a value with three decimal and I want to make an annotation with only one decimal.

How do I set op the PBA string in the Geospatial Administrator ?

TIA

Erik Wirring

Parents
  • What about:

    TOSTR (n,i1,i2)

    Converts a number to a text string. The parameter “n” is the number (floating point or integer). i1 is the minimum text string width. i2 is the number of decimals to be used.

    Example: s = tostr(sin(50), 6, 4) results in the text “0.7660.”

    From the Geospatial Admin Help/Expressions, Operators and Basic Functions

    Regards

    Frank

    since 1985: GIS, CAD, Engineering (Civil)  Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads,  HHK Geograf, IBr DAVID] :  Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML]
    [direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"
    Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)

Reply
  • What about:

    TOSTR (n,i1,i2)

    Converts a number to a text string. The parameter “n” is the number (floating point or integer). i1 is the minimum text string width. i2 is the number of decimals to be used.

    Example: s = tostr(sin(50), 6, 4) results in the text “0.7660.”

    From the Geospatial Admin Help/Expressions, Operators and Basic Functions

    Regards

    Frank

    since 1985: GIS, CAD, Engineering (Civil)  Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads,  HHK Geograf, IBr DAVID] :  Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML]
    [direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"
    Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)

Children