> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I get a scalar variable from a math block instead of a scalar field?

## Issue:

When using math blocks I was expecting to get a scalar variable as the result. Instead, I got a scalar field. How can I get a scalar variable instead?

## Applies to:

* Blocks, Math, Overloads

## Cause:

This is happening due to the block's Overloads. Overloads allow you to change the input and output type of the entire block.

## Solution:

To get a scalar variable, use the block's Overload to change the type for the input and output.

To do this, select the downward arrow after the block name and choose the type you want. This sets the block to have a different type for the input and output.

![An example of changing the input type of the Sin block by changing the block's overload.](https://files.learn.ntop.com/help-articles/user-interface/1500006780402.png)

## Keywords:

*block blocks field convert change scalar type math overload issue overloads*
