Migrated RecipesAndPrinting to unified api

Change return type of overridden property from int to mint. Cast nint
to int. Change variables from float to float, and from int to nint.
Case double to float.