.page-header{margin-bottom:0}
.section-intro{font-size:14px;line-height:1.7;color:#374151;margin:0 0 16px}
.section-intro:last-of-type{margin-bottom:24px}
.text-emphasis{font-weight:700;color:#0d1117}
.property-template-notes{margin:0 0 32px;padding-left:20px;font-size:13px;line-height:1.8;color:#374151}
.property-template-notes li{margin-bottom:8px}
.property-template-notes li:last-child{margin-bottom:0}
.reference-figure{margin:0 0 32px}
.reference-figure img{display:block;width:100%;max-width:100%;height:auto;border-radius:6px;border:1px solid #e5e7eb}
.reference-figure__caption{margin:10px 0 0;font-size:12px;line-height:1.55;color:#57606a}
.msdn-link{margin:0 0 32px;font-size:13px;line-height:1.55;color:#0d1117}
.msdn-link__anchor{color:#004578;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.msdn-link__anchor:hover{text-decoration:underline;text-underline-offset:2px}
.msdn-link__icon{display:inline-flex;line-height:0;color:#004578}
.msdn-link__icon svg{display:block}
.do-dont-example-title{font-size:14px;font-weight:700;color:#0d1117;margin:0 0 16px}
.do-dont-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 32px;align-items:stretch}
@media(max-width:900px){.do-dont-grid{grid-template-columns:1fr}}
.do-dont-card{border-radius:8px;overflow:hidden;border:1px solid;display:flex;flex-direction:column;min-width:0;background:#fff;height:100%}
.do-card{border-color:#90D4B3}
.dont-card{border-color:#F0A898}
.do-dont-card__header{padding:12px 16px;border-bottom:1px solid}
.do-card .do-dont-card__header{background:#F0FAF6;border-color:#90D4B3}
.dont-card .do-dont-card__header{background:#FFF5F4;border-color:#F0A898}
.do-dont-card__badge{display:flex;align-items:center;gap:8px}
.do-dont-card__icon{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex:0 0 22px}
.do-card .do-dont-card__icon{background:#1A7F5A;box-shadow:0 0 0 1px rgba(26,127,90,.15)}
.dont-card .do-dont-card__icon{background:#B91C1C;box-shadow:0 0 0 1px rgba(185,28,28,.15)}
.do-dont-card__icon svg{display:block}
.do-dont-card__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;line-height:1}
.do-card .do-dont-card__label{color:#1A7F5A}
.dont-card .do-dont-card__label{color:#B91C1C}
.do-dont-grid--precision .do-dont-card__body{padding:16px;background:#fff;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}
.do-dont-grid--precision .do-dont-card__visuals{display:flex;flex-direction:column;gap:16px;flex:1}
.do-dont-grid--precision .do-dont-card__explanation{margin:0;font-size:13px;line-height:1.55;color:#374151;margin-top:auto}
.precision-wireframe{border:1px solid #d0d7de;border-radius:6px;background:#f6f8fa;padding:12px;width:100%;box-sizing:border-box}
.precision-wireframe__title{margin:0 0 10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6B7280}
.precision-wireframe__row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.precision-wireframe__row:last-child{margin-bottom:0}
.precision-wireframe__label{font-size:12px;font-weight:600;color:#0d1117;min-width:108px;font-family:'Segoe UI',system-ui,sans-serif}
.precision-wireframe__input{box-sizing:border-box;height:28px;padding:4px 8px;border:1px solid #d0d7de;border-radius:2px;background:#fff;font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;line-height:16px;color:#0d1117}
.precision-wireframe__input--narrow{width:48px;text-align:center}
.precision-wireframe__input--wide{flex:1;min-width:0}
.precision-wireframe__dropdown{position:relative}
.precision-wireframe__menu{margin-top:4px;border:1px solid #d0d7de;border-radius:2px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.08);overflow:hidden}
.precision-wireframe__menu-item{padding:6px 10px;font-size:12px;line-height:16px;color:#0d1117;font-family:'Segoe UI',system-ui,sans-serif}
.precision-wireframe__menu-item--active{background:#e8f4fd;color:#004578;font-weight:600}
.precision-table{width:100%;border-collapse:collapse;font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:16px}
.precision-table th{text-align:left;padding:6px 8px;background:#eef2f6;border-bottom:1px solid #d0d7de;font-size:11px;font-weight:700;font-family:'Segoe UI',system-ui,sans-serif;color:#57606a;text-transform:uppercase;letter-spacing:.03em}
.precision-table td{padding:6px 8px;border-bottom:1px solid #e8ecef;color:#0d1117;font-family:'Segoe UI',system-ui,sans-serif;font-size:12px}
.precision-table td.num{text-align:right;font-family:Consolas,'Courier New',monospace}
.precision-table tr:last-child td{border-bottom:none}
.precision-table--dont td.num{color:#B91C1C}
.precision-edit-demo{display:flex;flex-direction:column;gap:10px}
.precision-edit-demo__field{display:flex;flex-direction:column;gap:4px}
.precision-edit-demo__field-label{font-size:11px;font-weight:600;color:#57606a;font-family:'Segoe UI',system-ui,sans-serif}
.precision-edit-demo__field-value{box-sizing:border-box;padding:6px 8px;border:1px solid #d0d7de;border-radius:2px;background:#fff;font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:16px;color:#0d1117}
.precision-edit-demo__field-value--edit{border-color:#0078d4;box-shadow:0 0 0 1px #0078d4}
.precision-edit-demo__field-value--display{color:#57606a;background:#f6f8fa}
.precision-edit-demo__hint{margin:0;font-size:11px;line-height:1.4;color:#6B7280;font-family:'Segoe UI',system-ui,sans-serif}
.related-pages{margin-top:32px;padding-top:20px;border-top:1px solid #E5E7EB}
.related-pages h3{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6B7280;margin-bottom:10px}

# Numeric precision

Petrel displays geoscientific and engineering measurements. Consistent decimal precision prevents misinterpretation of data accuracy and supports correct scientific communication.
The display format of Petrel UI controls with numeric content (text fields, drop-downs, table cells, labels, etc.) 
should
be controlled via Petrel property templates.
Table columns can force 
Decimal places
option (over 
Significant figures
) if nicely lined up columns of numbers are considered more user friendly.
Full precision should be enabled while editing (RW text fields, table cells, etc.).
Example from a property template dialog, format definitions for decimal places and significant figures, and the 
ParseToString
Ocean API method.
## Do and Don't

Do
Property template
Numeric precision:
2
Decimal places
Decimal places
Significant figures
Table display — decimal places
Well
Depth (m)
Alpha-1
2547.83
Bravo-2
2548.12
Charlie-3
2550.00
While editing
2547.834521
After confirm
2547.83
Full precision while editing; template precision on display.
Use a consistent number format per property across all dialogs and panels that display the same property. Apply property templates for display, enable full precision while editing, and prefer 
Decimal places
in tables when aligned columns aid comparison.
Don't
Inconsistent formatting
Location
Depth (m)
Well Properties
2547.8
Map tooltip
2547.83
Export / raw value
2547.8300000000004
Hardcoded display — no template
Depth:
2547.8300000000004 m
Don't display raw floating-point precision or inconsistent formats for the same property. A depth shown as 2547.8 m in one place and 2547.83 m in another creates confusion about which value is correct.
Read more details on numeric formatting, see 
MSDN
.
### Related pages

Form controls
— Numeric input field patterns
Tables
— Right-aligning numeric data in table columns
Typography
— Monospace font for numeric data