> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-docs-add-b20-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20Asset.toRawBalance

> Generated B20 reference for toRawBalance(uint256).

[Related concept](/base-chain/specs/upgrades/beryl/b20/specification/concepts/variants-asset-vs-stablecoin)

## Signature

```solidity theme={null}
function toRawBalance(uint256 scaledBalance) external view returns (uint256 rawBalance);
```

| Field               | Value                   |
| ------------------- | ----------------------- |
| Selector            | `0x0ca06c44`            |
| Canonical signature | `toRawBalance(uint256)` |

## Description

Converts a scaled balance back to its raw representation:
`scaledBalance * WAD_PRECISION / multiplier`.
Dev: Integer division rounds toward zero; conversions are not exactly reversible when
`multiplier != WAD_PRECISION`. `toRawBalance(toScaledBalance(x))` may return a
value slightly less than `x`.
Param: scaledBalance Scaled token amount to convert back.
Return: rawBalance Raw balance at the current multiplier.

## Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

## Policy interaction

No direct policy interaction.

## Example

```solidity theme={null}
IB20Asset(target).toRawBalance(arg0);
```

## Related

* [IB20Asset reference](/base-chain/specs/upgrades/beryl/b20/specification/reference/interfaces/IB20Asset)
* [Constants & addresses](/base-chain/specs/upgrades/beryl/b20/specification/reference/constants-and-addresses)
