Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Inventory Days

Find the first demand period that cannot be filled from current stock. Return the number of fully served periods.

Source repository · Package JSON

Use Inventory Days

use vendor::inventory_days::inventory_days;

Run the example

nest demo inventory_days@0.1.1
blyxc native-run inventory_days-demo/main.blyx
Example source and expected output
use vendor::inventory_days::inventory_days;

fn main() {
    println!(inventory_days(7.0,[3,4,1]));
}

Expected output

2

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse filesd0708c5e70dd181a128cf1bc31c05219ae1c71500d01d4228a14e157266eb7685c648ed917
0.1.0Download ZIP · Browse files6349f23784bd6b02466728d957a9e0040e0e604b41ae6e18e82ba564a20fe70ccbfc47df83