[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-26 UTC。"],[[["`number.byte()` casts the input number to an unsigned 8-bit integer, resulting in a value within the range of 0 to 255."],["Numbers exceeding the maximum value of 255 will be truncated to 255, while numbers below 0 will be set to 0."],["When casting floating-point numbers, the decimal portion is lost, resulting in the nearest integer within the byte range."]]],["The `byte()` method casts a number to an unsigned 8-bit integer, ranging from 0 to 255. Floating-point numbers lose decimal precision when cast. Numbers exceeding the byte range maximum (255) are capped at 255, and those below the minimum (0) become 0. The input value is cast to this range, modifying its value if outside of 0-255.\n"]]