# WEIGHTPATTERN (Game Mode: miscinfo.lst)

## Status

New 5.9.5

## Syntax

`WEIGHTPATTERN:x`

## Parameters

- x: Text (Weight unit pattern).

## What it does

Used in UNITSET lines to define the weight unit pattern. The ‘pattern’ string is a pattern for formatting the output of the value, so you can specify e.g. how many decimal digits are printed. The pattern follows the definition of the Java class DecimaFormat and can be found here .

## Example

`WEIGHTPATTERN:#.##`

Defines the weight unit pattern as “ft.”.

## Where it is used

Used in UNITSET lines.

Documentation built with Hugo using the Material theme.