current position:Home>Java string accepts that the field value becomes. 2, and 0 is missing

Java string accepts that the field value becomes. 2, and 0 is missing

2022-02-03 02:08:57 CSDN Q & A

oracle The database field type is number,java The accepted field is String The value of the database is 0.2 But string When you accept it, you become .2 What's the matter ?




Refer to the answer 1:

use oracle Of to_char() Function to string first




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030208563250.html

Random recommended