<div class="form-group">
<?php
$data = array('name' => 'Basicvalue','value' => set_value('Basicvalue'),'id'=>'Basicvalue', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input(($data));
?>
</div>
This is my text box and when I entered an input, it should display with two decimals. How can I do that?
eg: If I entered 11, then the field should display it as 11.00