[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tprintf](./bitburner.ns.tprintf.md)
## NS.tprintf() method
Prints a raw value or a variable to the Terminal.
Signature:
```typescript
tprintf(format: string, ...values: any[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| format | string | format of the message |
| values | any\[\] | |
Returns:
void
## Remarks
RAM cost: 0 GB
see: https://github.com/alexei/sprintf.js