fn: precision 
					
								[contents]
				
								
				f++ :   
				
				n++ :   
								
				
								
										
											
												
									 
				
									You can find more information about fixed , scientific , hexfloat  and defaultfloat  here.
								
				
								
				
								
				
								
				
								
							
						Contents
Syntax
									The syntax for 
precision() precision(param)
@precision() @precision(param)
Description
									The 
- takes zero parameters and returns the current level of precision that is set when writing doubles
 - takes a single parameter that is either an integer to set to level of precision when writing doubles or a string to set the type of precision used when writing doubles
 
									The following are valid parameters for 
| param | description | 
|---|---|
| maximum number of decimal places | |
| write floating-point values in default floating-point notation (default) | |
| write floating-point values in fixed-point notation | |
| unset writing floating-point values in fixed-point notation. | |
| write floating-point values in scientific notation | |
| unset writing floating-point values in scientific notation | |
| write floating-point values in hexadecimal format (same as  | 
											|
| unset writing floating-point values in hexadecimal format | |
| param | description | 
f++ example
									Examples of 
:=(double, d=1.23456)
precision("fixed")
precision(3)
console(d)
				n++ example
									Example of 
@:=(double, d=1.23456)
@precision("fixed")
@precision(3)
@console(d)
				
![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)
