Julia Programming Language
How to parameterize an argument which is either Int64,Int32, etc
General Usage
mkarikom
July 5, 2020, 5:01pm
2
Ok this works:
function testint(num::Integer) print(num) end
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
[Question] specifying the type of inputs of Function
New to Julia
4
505
August 9, 2021
Julia automatically converts datatype in function call
New to Julia
9
515
July 8, 2020
Default constructor more strict for parametric type?
General Usage
1
522
October 25, 2017
Error caused by Sending Vector{Int64} to Vector{Integer} type function
General Usage
question
2
337
June 22, 2022
Making Int's size runtime selectable with no perfomance kill
New to Julia
type
14
1130
September 7, 2017