> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# isMeasureFormatInPercent()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/execution/measure/index.ts

Gets a flag indicating whether a given measure has a format resulting in data being formatted as percentage

**Signature:**

```typescript
export declare function isMeasureFormatInPercent(measureOrFormat: IMeasure | string | undefined): boolean;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| measureOrFormat | [IMeasure](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasure/index.md) \| string \| undefined | measure or measure format to test |

**Returns:**

boolean

true if the measure format is in percent, false otherwise

## Remarks

Measure format is considered to represent value in percent when A) format string has no conditional separators (i.e. no semicolons except a single one at the end);  otherwise the parsing would need access to a particular value. B) percentage symbol is found (not directly preceded by backslash)
