document tolerance/precision for dimensions

how to get with code default document precision for displayed dimensions?

Like if it's .xx or .xxx or .xxxx?

Thanks

SolidworksApi macros