How to get a Number key Pad with a point in iPhone
<p>Hi I am using the following code for a text box</p>

<p>UITextField *txt_field = [[UITextField alloc] initWithFrame:frame];</p>

<p>[txt_field setKeyboardType: UIKeyboardTypeNumberPad];</p>

<p>Now When I click on the text field, a number pad comes up which dont have a decimal point option. I want a text field with just number pad where user can enter the number in decimal point also. I know I can use other pads but I dont want to allow user to have access to any other character keys other than number and a point. Is it possible.</p>

<p>tnx</p>
