DynaPDF.SetFloatPrecision
-------------------------

The function changes the output precision of text and vector coordinates.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [6.5](newinversion65.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetFloatPrecision"; NumTextDecDigits; NumVectDecDigits ) 

**MBS**( **"DynaPDF.SetFloatPrecision";** /\* The function changes the output precision of text and vector coordinates. \*/  
**$NumTextDecDigits**; /\* Number decimal digits for text object.e.g. 5 \*/   
**$NumVectDecDigits**) /\* Number of decimal digits for vector objects.e.g. 5 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| NumTextDecDigits | Number decimal digits for text object. | 5 |
| NumVectDecDigits | Number of decimal digits for vector objects. | 5 |

### Result

Returns OK or error.

### Description

The function changes the output precision of text and vector coordinates.   
The default precision for text and vector graphics is two decimal digits. This corresponds to 7200 DPI. The output precision of bezier curves is one higher as for vector graphics. The maximum output precision is 5 decimal digits.   
Note that higher values increase the resulting file size.   
See also [SetFloatPrecision](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetFloatPrecision.shtml) function in DynaPDF manual.

This function checks for a license.

Created 23th November 2016 , last changed 23th November 2016

  
[DynaPDF.SetFillColorValue](DynaPDFSetFillColorValue.md) - [DynaPDF.SetFont](DynaPDFSetFont.md)

[HTML Version](DynaPDFSetFloatPrecision.shtml)