Double types

Поиск
Список
Период
Сортировка
От Hall, Samuel L (Sam)
Тема Double types
Дата
Msg-id 69751890A64B3241A83BDB52A30BF29D010090@US70UWXCHMBA05.zam.alcatel-lucent.com
обсуждение исходный текст
Ответы Re: Double types  (Chris Angelico <rosuav@gmail.com>)
Список pgsql-general

I have an application that writes an Excel Spreadsheet to postgres. For the values that go in number fields, I check the Excel values for dbnull and set the parameters to 0, like this: cmd.Parameters(9).Value = 0. Npgsql throws an error “format specifier was invalid” If I do this: cmd.Parameters(9).Value = convert.todouble(0) then it works fine.

Visual Basic 2010, Postgres 9.1, npgsql 2.0.12.0

 

Could somebody please explain this behavior?

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: checkpoint_timeout and archive_timeout
Следующее
От: Rafal Pietrak
Дата:
Сообщение: Re: foreign key from array element