Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've got a download page in my umbraco project where I retrieve the umbracoBytes property.
But there must be an easy way to convert those to MB's. But I can't find any.
Hope someone can help.
( http://mas.bluebased.nl/download.aspx )
This is a old question but it's the first that comes up on Google.
So here is the answer :
@((media.umbracoBytes / 1048576M).ToString("0.00")) Mb
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted