# Passing a decimal (real) value to report as a parameter

**URL:** <https://forum.inductiveautomation.com/t/passing-a-decimal-real-value-to-report-as-a-parameter/34757>\
**Category:** Ignition\
**Created:** [May 14, 2020, 6:39pm UTC](https://forum.inductiveautomation.com/t/passing-a-decimal-real-value-to-report-as-a-parameter/34757 "2020-05-14T18:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLCINC\_NY](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plcinc_ny/32/20350_2.png) [@PLCINC\_NY](https://forum.inductiveautomation.com/u/PLCINC_NY)\
**Post date:** [May 14, 2020, 6:39pm UTC](https://forum.inductiveautomation.com/t/passing-a-decimal-real-value-to-report-as-a-parameter/34757/1 "2020-05-14T18:39:49Z")

</div>

I am looking for a way to pass a float value to a report template to do some value scaling. Basically I am looking to multiple a historical value (gallons) by a specific gravilty ( float) to convert to pounds.

From what I see, report data parameters cannot be of type float…

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 14, 2020, 7:32pm UTC](https://forum.inductiveautomation.com/t/passing-a-decimal-real-value-to-report-as-a-parameter/34757/2 "2020-05-14T19:32:30Z")

</div>

Use ‘double’ as the parameter type; ‘double’ is a double-precision (64-bit) floating point, rather than single precision (32-bit) ‘float’ type.

---

<div class="post-metadata">

**Author:** ![PLCINC\_NY](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plcinc_ny/32/20350_2.png) [@PLCINC\_NY](https://forum.inductiveautomation.com/u/PLCINC_NY)\
**Post date:** [May 14, 2020, 8:32pm UTC](https://forum.inductiveautomation.com/t/passing-a-decimal-real-value-to-report-as-a-parameter/34757/3 "2020-05-14T20:32:19Z")

</div>

Oh!.

I Thought Double was Double INT (DINT)…

That worked…!

Thanks
