postgrejs
Version:
Professional PostgreSQL client NodeJS
13 lines (12 loc) • 625 B
TypeScript
import type { DataType } from '../interfaces/data-type.js';
export declare const NumericType: DataType;
export declare const ArrayNumericType: DataType;
/**
* Convert a number from binary representation to text representation.
* @param digits array of shorts that can be decoded as the number String
* @param scale the scale of the number binary representation
* @param weight the weight of the number binary representation
* @param sign the sign of the number
* @return String the number as String
*/
export declare function numberBytesToString(digits: number[], scale: number, weight: number, sign: number): string;