| |

VerySource

 Forgot password?
 Register
Search
View: 787|Reply: 4

Find a function with three decimal places for any value

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-21 12:30:01
| Show all posts |Read mode
As the title
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-5-1 08:15:01
| Show all posts
Debug.Print Format (125.81256, "# .000")
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-5-1 09:45:01
| Show all posts
cint ((num-int (num)) * 1000) / 1000
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 Egypt

Post time: 2020-5-22 09:30:01
| Show all posts
? FormatNumber (123.456789,3)
? Round (123.456789,3)
? Format (123.45678, "# .000")
Reply

Use magic Report

0

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-5-23 12:15:01
| Show all posts
The above methods can meet the requirements, the key is to choose according to the actual situation!
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