| |

VerySource

 Forgot password?
 Register
Search
View: 1126|Reply: 5

Urgent !! Can't display decimals in online datawindow

[Copy link]

2

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-3-5 11:30:01
| Show all posts |Read mode
Add a decimal place to a field in a table. But when inputting data in the window, it will always be rounded to the whole number when entering the decimal. Why is this?
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-22 18:30:01
| Show all posts
Format issue.

possible reason:
1. In the edit attribute of the column,
  If the style type is Edit, the format in the format is ### (or ### 0) or the like, changed to #### 0.00 (two decimal places)
  If the style type is Editmask, the format of the mask is ### (or ### 0) or the like, changed to #### 0.00 (two decimal places)
2. In the Format property of the column, the format is ### (or ### 0) or the like, changed to #### 0.00 (two decimal places)
Reply

Use magic Report

0

Threads

100

Posts

53.00

Credits

Newbie

Rank: 1

Credits
53.00

 China

Post time: 2020-5-23 16:30:01
| Show all posts
Data window, right click, edit source, change the definition of the column, add the number of decimal places.
Reply

Use magic Report

2

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

 Author| Post time: 2020-5-28 09:15:01
| Show all posts
Wrong, this is the way, if I enter 135.5, it will automatically round to 140.0
Reply

Use magic Report

0

Threads

21

Posts

18.00

Credits

Newbie

Rank: 1

Credits
18.00

 China

Post time: 2020-6-15 03:00:01
| Show all posts
See if there is strange code in the editchange and itemchanged events.
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-6-18 13:45:01
| Show all posts
Check whether there is a setting in the edit attribute of the data window to see if there is code to control the display
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list