Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Sql データ型は money、.Net データ型は decimal です。データを挿入するために1.8714をsqlに送信しますが、sqlサーバーはそれを1.8700に丸めます。どうすればデータを保存できますか? また、丸めずに送信するにはどうすればよいですか?
可変型の10進数を.Net側でfloatに変更したところ、解決しました。
alter table <tablename> alter column <columnname> float