|
|
|
Проблема с INSERT и DOUBLE
|
|||
|---|---|---|---|
|
#18+
Делаю так: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. Что делаю неправильно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2005, 07:26:20 |
|
||
|
Проблема с INSERT и DOUBLE
|
|||
|---|---|---|---|
|
#18+
CREATE cursor REPAIRTIMES (; ADB VARCHAR(10) NOT NULL, ; ID INTEGER NOT NULL, ; CODE VARCHAR(12) NOT NULL, ; TIMEVALUE DOUBLE (15) ) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2005, 08:27:01 |
|
||
|
Проблема с INSERT и DOUBLE
|
|||
|---|---|---|---|
|
#18+
Спасибо! VFP 9, в Help-е про указание DOUBLE(..) почему-то не нашел. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2005, 08:51:12 |
|
||
|
Проблема с INSERT и DOUBLE
|
|||
|---|---|---|---|
|
#18+
w3dVFP 9, в Help-е про указание DOUBLE(..) почему-то не нашел. Вообще-то, есть. Даже с примерами. Статья так и называется " Double Field Type " HELP VFP9When you need more accuracy, for example, when you have a fixed amount of storage in your table or true floating-point values, use the Double data type instead of Numeric. Unlike with numeric data, you determine the position of the decimal point when you enter the value in a table. Note: When the Double data type is used in a table, the number of decimals specified when the field is created is for display purposes only. Visual FoxPro stores the actual value in the field. Т.е. указание количества знаков после запятой - это не вопрос хранения данных. Это вопрос отображения данных. Вне зависимости от указанной размерности храниться будет столько знаков, сколько указано (но не более 16 - это ограничение точности FoxPro). Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.11.2005, 09:58:50 |
|
||
|
|

start [/forum/topic.php?fid=41&fpage=292&tid=1593064]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
19ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 230ms |
| total: | 314ms |

| 0 / 0 |
