MapWinGIS:Field Precision

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Precision

Gets or sets the precision of the field. Note: Precision only applies to fields of fieldtype double.
See also FieldType


VB.NET Usage

Property Precision() As Integer

            Parameters

ReturnValue

The precision of the field.

Sample Code

    Private Sub FieldPrecision()
        Dim field As New MapWinGIS.Field()
        Dim precision As Integer
        'Set the precision value
        precision = 2
        'Set the precision of the field
        field.Precision = precision
        'Get the precision of the field
        precision = field.Precision
    End Sub
  

VB 6 Usage
Property Precision() As Long
            Parameters

ReturnValue

The precision of the field.

Sample Code

    Private Sub FieldPrecision()
        Dim field As New MapWinGIS.field
        Dim precision As Long
        'Set the precision value
        precision = 2
        'Set the precision of the field
        field.precision = precision
        'Get the precision of the field
        precision = field.precision
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Field_Precision"

This page has been accessed 1,791 times. This page was last modified on 9 November 2005, at 16:25.