# SizeConversionOptions

Options for how to convert time to a different unit.

- Source: [`core/lib/size.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/size.ts#L233)

## Example

```ts
Size.mebibytes(2).toKibibytes()                                             // yields 2048
Size.kibibytes(2050).toMebibytes({ rounding: SizeRoundingBehavior.FLOOR })  // yields 2
```

## Properties

- `rounding`: [SizeRoundingBehavior](/cdk/api/v2/docs/aws-cdk-lib.SizeRoundingBehavior.html) = SizeRoundingBehavior.FAIL — How conversions should behave when it encounters a non-integer result.
