```\\nfunction tokenFromReflection(uint256 rAmount)\\n    public\\n    view\\n    returns (uint256)\\n{\\n    require(\\n        rAmount <= _rTotal,\\n        "Amount must be less than total reflections"\\n    );\\n    uint256 currentRate = _getRate();\\n    return rAmount.div(currentRate);\\n}\\n```\\n