# OOT block with varible type of input/output

**URL:** <https://www.ruby-forum.com/t/oot-block-with-varible-type-of-input-output/252942>\
**Category:** GNU Radio\
**Created:** [August 25, 2019, 7:24am UTC](https://www.ruby-forum.com/t/oot-block-with-varible-type-of-input-output/252942 "2019-08-25T07:24:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alireza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@alireza](https://www.ruby-forum.com/u/alireza)\
**Post date:** [August 25, 2019, 7:24am UTC](https://www.ruby-forum.com/t/oot-block-with-varible-type-of-input-output/252942/1 "2019-08-25T07:24:05Z")

</div>

How to design OOT block similar to add\_const\_vXX.cc.t in template form ,I want to design a block that find out difference between float input and integer input but because size of both is 4 bytes ,i don’t handle it,so I want to use template form that generate add\_const\_ff.cc for float and add\_const\_ii.cc for integer  
I really appreciate everybody’s help.  
Alireza
