• Announcements

Sign in to follow this  
Followers 0
dtgm

formatfilesize limited to 32-bit integer

2 posts in this topic

Problem:

If filesize > 2147483647

then {filesize:formatfilesize} returns "0 Bytes"

Solution:

ketarin/UrlVariable.cs

:738s#return FormatFileSize.Format(Conversion.ToInt(content));#return FormatFileSize.Format(Conversion.ToInt64(content));#

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0