Field-Map Scripting

4.2.3.72 RoundAttributeValues

RoundAttributeValues procedure


Prototype:

procedure RoundAttributeValues (const AttributeNames : string; const PlacesBehindDecimalPoint : integer);

Description:

Rounds values of attribute to predefined number of places behind decimal separator.

Syntax:

Layer.RoundAttributeValues (Attribute; Places Behind Decimal Point);


Part

Description


Layer

A reference to the Field-Map layer as defined in Field-Map Project Manager


Attribute

A reference to the Field-Map attribute as defined in Field-Map Project Manager


Places Behind Decimal Point

Number of places behind decimal separator after rounding of attribute (≥ 0).

Return value:

Rounded value of attributes.



See also:

Value; ValueAsString; ValueAsinteger; ValueAsFloat; ValueAsboolean; OldValue; PreviousValue; BOF; EOF; RecordCount; State; SetValues; SetValuesFromXML; CrownProjection; CrownProfile; CrownProfilePoints; StemProfile; OldLayer; SavePosition; RestorePosition; SaveState; RestoreState; SavePositionAndState; RestorePositionAndState; Open; Close; First; Last; Next; Prior; Edit; Post; Append; Delete; Cancel; Refresh; Locate; ClearTable; Filter; Filtered; CheckFilter; SetFilterExt; ClearFilterForChildLayers; DeepFilter; EnableCachedUpdates; ApplyUpdates; GetAttributeValue; GetQueryResult; DeleteFrom; Update; CreateMemTable; SaveToDBF; SaveToExcel; GetMinOfAttributeValues; GetMaxOfAttributeValues; GetMeanOfAttributeValues; GetSumOfAttributeValues; GetRecordCount; GetLookupTable; GetLookupListValue; GetLookupListAttributeValue; GetID; GetIdAttributeName; GetIdSQL; SaveTimeStamp; File2Blob; Blob2Folder; String2Blob; Blob2String; FillAttributeValues; MarkValuesAsConditional;GetListOfChildLayers; GetPercentageOfFilledAttributes4Record; GetPercentageOfFilledAttributes4Layer; RoundAttributeValues