mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-29 07:04:41 +01:00
Better support for 64 bit numbers (#44)
This commit is contained in:
@@ -44,7 +44,7 @@ export class IpAddressView extends React.Component<IpAddressViewProps>
|
||||
};
|
||||
|
||||
function fmt(num: number) : string {
|
||||
return formatter.padLeft(formatter.formatString(num, 'bin'), 8, '0');
|
||||
return formatter.padLeft(formatter.numberToString(num, 'bin'), 8, '0');
|
||||
}
|
||||
|
||||
export default IpAddressView;
|
||||
Reference in New Issue
Block a user