Crystal Reports for Eclipse Designer Guide

ByteToText (byte)

Description
This function will return a string description of the number passed in.
Arguments
  • bytes is a number, which represents an amount of storage in bytes.
  • Returns
    String
    Action
    This function will return a string description of the number passed in.
  • If the argument is less than 1024, the result will be in bytes.
  • If the argument is between 1024 and 1048576, then the result will be in kilobytes.
  • Otherwise, the result will be in megabytes.
  • Examples
    ByteToText(1000)
    Returns "1000 bytes".
    ByteToText(345555)
    Returns "337KB".



    SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/