How to insert int type to influxDB?

I use following statement:
insert test,age=10 name=hui

but I found that age is string type after inserting to the database. Why? How to insert int type to the db?

I believe you can line protocol considers the age=10 as a tag/value pair. Fields can have integers as values but the they are after the blank space and need to have a suffix ā€˜iā€™ as shown below.
[https://docs.influxdata.com/influxdb/v1.3/write_protocols/line_protocol_tutorial/]. Here is the example line from the tutorial - weather,location=us-midwest temperature=82i 1465839830100400200