Jump to content

View a part of a variabel


 Share

Recommended Posts

While downloading a file I use the command @InetGetBytesRead to let see the user how much is downloaded already

But to let the progression not in Bytes but in Megabytes I used @InetGetBytesRead/1000

so far so good

but its a very long number and I only will show on the screen the 4 first numbers ( example 14.52 Mb)

Wich command do I have to use to filter out the rest?

to compare : in Microsoft Excel you can use the formats "##.##"

thanks

Ysengrim

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...